Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
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?
[james28909]: Today would be scalar localtime. Yesterday would be scalar localtime - 1. sunday - monday would variate scalar localtime - ?
[james28909]: oops s/sunday - monday/sunday - saturday/
[james28909]: my mind is blown haha
[james28909]: hmm, i haz idea!

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (5)
As of 2017-04-29 03:59 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I'm a fool:











    Results (531 votes). Check out past polls.