Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change

Re: Which module did I load?

by jhourcle (Prior)
on Aug 22, 2006 at 00:27 UTC ( #568730=note: print w/ replies, xml ) Need Help??

in reply to Which module did I load?

I keep the following shell script in my path as 'whichpm' :

#!/bin/sh echo 'print map { sprintf( "%20s : %s\n", $_, $INC{$_} ) } sort keys % +INC; print "\n'$1' version : $'$1'::VERSION\n\n"' | perl "-M$1"

Which yields results such as :

$ whichpm CGI : /System/Library/Perl/5.8.6/ CGI/ : /System/Library/Perl/5.8.6/CGI/ : /System/Library/Perl/5.8.6/ : /System/Library/Perl/5.8.6/ : /System/Library/Perl/5.8.6/ : /System/Library/Perl/5.8.6/ : /System/Library/Perl/5.8.6/ : /System/Library/Perl/5.8.6/ : /System/Library/Perl/5.8.6/ warnings/ : /System/Library/Perl/5.8.6/warnings/ CGI version : 3.05

Comment on Re: Which module did I load?
Select or Download Code

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (3)
As of 2015-11-27 03:51 GMT
Find Nodes?
    Voting Booth?

    What would be the most significant thing to happen if a rope (or wire) tied the Earth and the Moon together?

    Results (717 votes), past polls