in reply to Find perl module version from command-line
perl -le 'eval "require $ARGV[0]" and print ${"$ARGV[0]::VERSION"} +' Module
perl -le 'eval "require $ARGV[0]" and print $ARGV[0]->VERSION' Mod +ule
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Find perl module version from command-line
by cld (Initiate) on Jan 03, 2008 at 23:27 UTC | |
by naChoZ (Curate) on Jan 04, 2008 at 22:56 UTC | |
by Anonymous Monk on Feb 21, 2012 at 13:26 UTC | |
by Corion (Patriarch) on Feb 21, 2012 at 13:34 UTC | |
by educated_foo (Vicar) on Feb 21, 2012 at 17:08 UTC | |
by geelsu (Initiate) on Feb 21, 2012 at 14:42 UTC | |
| |
by geelsu (Initiate) on Feb 21, 2012 at 13:34 UTC |