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

Re: Finding version of a Perl module

by Fletch (Chancellor)
on Sep 09, 2005 at 12:51 UTC ( #490551=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    pmver () {
      perl -le "eval { require ${1} }; if( \$@ =~ /locate (\S+)\.pm/ ) { p
    +rint qq{${1} not installed}; exit 1; } print qq{${1}: },\$${1}::VERSI
    +ON||q{undefined}"
    }
    
  2. or download this
    $ pmver CGI
    CGI: 3.05     
    $
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (4)
As of 2021-06-21 00:12 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    What does the "s" stand for in "perls"? (Whence perls)












    Results (97 votes). Check out past polls.

    Notices?