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 ( [id://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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://490563]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others having an uproarious good time at the Monastery: (6)
As of 2024-04-16 08:54 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found