When trying to locate the version number I keep using this:
perl -MLong::And::Stupid::Module::Name -e "print $Long::And::Stupid::M
on Windows and
perl -MLong::And::Stupid::Module::Name -e 'print $Long::And::Stupid::M
I even have a small shell script doing this for me but it is not always with me.
perl -m$1 -le 'print '$1'->VERSION || die "No VERSION in '$1'\n"'
Is there any better way to do that?
perldoc showing version number?
In many modules I see people embed the version number in the POD so the reader will know. This can quickly get out of sync with the real version number. Would it be better/possible to have perldoc extract the version number of a module - when displaying the docs of a module - and show that along the documentation?