Clarify doc for cpan module
... note that you can pass names that include a precise version number.
This commit is contained in:
parent
4176c3b500
commit
aff36f5a97
1 changed files with 3 additions and 1 deletions
|
@ -29,7 +29,7 @@ version_added: "1.6"
|
||||||
options:
|
options:
|
||||||
name:
|
name:
|
||||||
description:
|
description:
|
||||||
- The name of the Perl library to install
|
- The name of the Perl library to install. You may use the "full distribution path", e.g. MIYAGAWA/Plack-0.99_05.tar.gz
|
||||||
required: false
|
required: false
|
||||||
default: null
|
default: null
|
||||||
aliases: ["pkg"]
|
aliases: ["pkg"]
|
||||||
|
@ -56,6 +56,8 @@ options:
|
||||||
examples:
|
examples:
|
||||||
- code: "cpanm: name=Dancer"
|
- code: "cpanm: name=Dancer"
|
||||||
description: Install I(Dancer) perl package.
|
description: Install I(Dancer) perl package.
|
||||||
|
- code: "cpanm: name=MIYAGAWA/Plack-0.99_05.tar.gz"
|
||||||
|
description: Install version 0.99_05 of the I(Plack) perl package.
|
||||||
- code: "cpanm: name=Dancer locallib=/srv/webapps/my_app/extlib"
|
- code: "cpanm: name=Dancer locallib=/srv/webapps/my_app/extlib"
|
||||||
description: "Install I(Dancer) (U(http://perldancer.org/)) into the specified I(locallib)"
|
description: "Install I(Dancer) (U(http://perldancer.org/)) into the specified I(locallib)"
|
||||||
- code: "cpanm: from_path=/srv/webapps/my_app/src/"
|
- code: "cpanm: from_path=/srv/webapps/my_app/src/"
|
||||||
|
|
Loading…
Reference in a new issue