http://www.perlmonks.org?node_id=490737


in reply to Re: Finding version of a Perl module
in thread Finding version of a Perl module

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.