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 ( #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


Comment on Re: Finding version of a Perl module
Select or Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://490563]
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: (10)
As of 2014-09-17 16:37 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (91 votes), past polls