in reply to Find perl module version from command-line
This is how I do it for checking one module.. I use CPAN to check multiple:
perl -MMODULE -e 'print $MODULE::VERSION';
Of course, if the module author doesn't put the suggested $VERSION variable in, this won't work :)
Cheers,
KM
|
---|
Replies are listed 'Best First'. | |
---|---|
RE: RE: Find perl module version from command-line
by lachoy (Parson) on Oct 18, 2000 at 22:24 UTC | |
Re^2: Find perl module version from command-line
by ambrus (Abbot) on Feb 21, 2012 at 16:32 UTC |
In Section
Cool Uses for Perl