Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
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 admiring the Monastery: (3)
As of 2025-07-14 03:10 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.