Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re: Finding version of a Perl module

by b10m (Vicar)
on Sep 09, 2005 at 12:39 UTC ( #490548=note: print w/replies, xml ) Need Help??


in reply to Finding version of a Perl module

perl -MCGI -e'print $CGI::VERSION';
--
b10m

All code is usually tested, but rarely trusted.

Replies are listed 'Best First'.
Re^2: Finding version of a Perl module
by xdg (Monsignor) on Sep 09, 2005 at 20:13 UTC

    Since $VERSION is usually near the top, I often just do this instead:

    perldoc -m CGI

    -xdg

    Code written by xdg and posted on PerlMonks is public domain. It is provided as is with no warranties, express or implied, of any kind. Posted code may not have been tested. Use of posted code is at your own risk.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (3)
As of 2021-06-23 06:22 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    What does the "s" stand for in "perls"? (Whence perls)












    Results (114 votes). Check out past polls.

    Notices?