Clarify doc for cpan module

... note that you can pass names that include a precise version number.
reviewable/pr18780/r1
Eric Hanchrow 10 years ago
parent a0df36c6ab
commit 9cdd01f352

@ -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…
Cancel
Save