Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re: Finding version of a Perl module

by lachoy (Parson)
on Sep 09, 2005 at 13:24 UTC ( #490563=note: print w/replies, xml ) Need Help??


in reply to Finding version of a Perl module

Just to add another version -- one of my first tasks when using a new machine is to scp the following script somewhere on the path as 'pmv':

#!/usr/bin/perl for my $module ( @ARGV ) { eval "require $module"; printf( "%-20s: %s\n", $module, $module->VERSION ) unless ( $@ ); }

A sample use:

cwinters@www ~ $ pmv CGI Template DBI CGI : 3.05 Template : 2.14 DBI : 1.48

Chris
M-x auto-bs-mode

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://490563]
help
Chatterbox?
[marto]: oh you guys...
[robby_dobby]: LanX: Calling the mayor of London, a transport commissar sounds about right. He seems especially fond of talking about "TfL" aka "Transport for London"

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (7)
As of 2017-12-15 18:55 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    What programming language do you hate the most?




















    Results (442 votes). Check out past polls.

    Notices?