Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re: How do I determine module version in my script? ( END{if defined $opt_versions...} )

by ybiC (Prior)
on Jul 23, 2003 at 17:33 UTC ( #277270=note: print w/replies, xml ) Need Help??


in reply to How do I determine module version in my script?

To (hopefully) add even more value to the above fine answers...   the following was gleaned from The Dynamic Duo --or-- Holy Getopt::Long, Pod::UsageMan!.   It might not even apply to your situation, yet perhaps still be of value for monks what find your post sometime in the future.
  cheers,
  ybiC

  striving toward Perl Adept
  (it's pronounced "why-bick")
END{ if(defined $opt_versions){ print "\nModules, Perl, OS, Program info:\n", " Weather::Underground $Weather::Underground::VERSION\n", " Pod::Usage $Pod::Usage::VERSION\n", " Getopt::Long $Getopt::Long::VERSION\n", " strict $strict::VERSION\n", " Perl $]\n", " OS $^O\n", " wunderg.pl $wunderg_VER\n", " $0\n", } }
  • Comment on Re: How do I determine module version in my script? ( END{if defined $opt_versions...} )
  • Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://277270]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (3)
As of 2017-04-27 15:13 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I'm a fool:











    Results (508 votes). Check out past polls.