Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
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 cooling their heels in the Monastery: (14)
As of 2015-07-07 22:45 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (93 votes), past polls