diff options
author | Florian Pritz <bluewind@xinu.at> | 2011-07-10 21:46:09 +0200 |
---|---|---|
committer | Florian Pritz <bluewind@xinu.at> | 2011-07-10 21:48:01 +0200 |
commit | d2a44efbe707b7210107fabce58fb99c1a3b251e (patch) | |
tree | c5527ba09d85d044326a06393ad8d0f88d8ac167 /perlmodver | |
parent | 5a311acfe51d396dd65fe72ec478ceebea64f6c1 (diff) | |
download | bin-d2a44efbe707b7210107fabce58fb99c1a3b251e.tar.gz bin-d2a44efbe707b7210107fabce58fb99c1a3b251e.tar.xz |
mass commit
Signed-off-by: Florian Pritz <bluewind@xinu.at>
Diffstat (limited to 'perlmodver')
-rwxr-xr-x | perlmodver | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/perlmodver b/perlmodver new file mode 100755 index 0000000..298079f --- /dev/null +++ b/perlmodver @@ -0,0 +1,6 @@ +#!/usr/bin/perl +use strict; +foreach my $module ( @ARGV ) { + eval "require $module"; + printf( "%-20s: %s\n", $module, $module->VERSION ) unless ( $@ ); +}
\ No newline at end of file |