From 9cdd01f352df733665ce148c72f64da221110f6d Mon Sep 17 00:00:00 2001 From: Eric Hanchrow Date: Thu, 16 Oct 2014 17:44:07 -0700 Subject: [PATCH] Clarify doc for cpan module ... note that you can pass names that include a precise version number. --- packaging/cpanm.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/packaging/cpanm.py b/packaging/cpanm.py index 5b1a9878d21..122fff559b6 100644 --- a/packaging/cpanm.py +++ b/packaging/cpanm.py @@ -29,7 +29,7 @@ version_added: "1.6" options: name: 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 default: null aliases: ["pkg"] @@ -56,6 +56,8 @@ options: examples: - code: "cpanm: name=Dancer" 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" description: "Install I(Dancer) (U(http://perldancer.org/)) into the specified I(locallib)" - code: "cpanm: from_path=/srv/webapps/my_app/src/"