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


in reply to oneliner to get module version

Why does nobody mention Abe's V module?

$ perl -MV=V V /pro/lib/perl5/site_perl/5.8.8/V.pm: 0.13 $ perl -MV=DBI DBI /pro/lib/perl5/site_perl/5.8.8/x86_64-linux/DBI.pm: 1.609 $ perl -MV=charnames charnames /pro/lib/perl5/5.8.8/charnames.pm: 1.05 $

Enjoy, Have FUN! H.Merijn

Replies are listed 'Best First'.
Re^2: oneliner to get module version
by Anonymous Monk on Jul 07, 2009 at 08:11 UTC
    Because they all use Devel::Modlist ? :)
    perl -MDevel::Modlist -MCGI -MSafe -Mautodie -e 1 ActivePerl::Config ActiveState::Path 1.00 AutoLoader 5.67 CGI 3.43 CGI::Util 1.5_01 Carp 1.10 Carp::Heavy Config Config_heavy.pl Cwd 3.3 C:::Perl::site::lib::sitecustomize.pl Exporter 5.63 Exporter::Heavy 5.63 Fatal 2.05 Fcntl 1.06 File::Basename 2.77 List::Util 1.21 Opcode 1.0601 POSIX 1.1501 Safe 2.16 Scalar::Util 1.21 Tie::Hash 1.03 Tie::RefHash 1.38 XSLoader 0.10 autodie 2.05 constant 1.17 overload 1.06 re 0.0601 subs 1.00 vars 1.01 warnings 1.05_01 warnings::register 1.01