Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?

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

M-x auto-bs-mode

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

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (9)
As of 2015-07-31 02:31 GMT
Find Nodes?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...

    Results (274 votes), past polls