Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re^2: Find perl module version from command-line

by ambrus (Abbot)
on Feb 21, 2012 at 16:32 UTC ( #955350=note: print w/ replies, xml ) Need Help??


in reply to RE: Find perl module version from command-line
in thread Find perl module version from command-line

A nice shortcut is

perl -e 'use Some::Module 9e9'
It is worth noting that perl -MSome::Module=9e9 -e1 works only if that module is Exporter-based, because -M passes that number as an import argument instead of a version number, but then Exporter interprets it as a version number.


Comment on Re^2: Find perl module version from command-line
Select or Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://955350]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (5)
As of 2014-08-30 19:58 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (293 votes), past polls