Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re: oneliner to get module version

by graff (Chancellor)
on Jun 14, 2009 at 23:54 UTC ( #771490=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    pmversion () 
    { 
        perl -M$1 -le "print $1->VERSION"
    }
    
  2. or download this
    pmpath () 
    { 
        perl -M$1 -le "print \$INC{'$1.pm'}"
    }
    
  3. or download this
    pmpath () 
    { 
        perl -M$1 -le "(\$_='$1')=~s{::}{/}g; print \$INC{\$_.'.pm'}"
    }
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (4)
As of 2014-09-15 10:54 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite cookbook is:










    Results (146 votes), past polls