Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
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 studying the Monastery: (3)
As of 2015-07-04 05:18 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 (57 votes), past polls