http://qs1969.pair.com?node_id=277270


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", } }