1
| find `perl -e 'print "@INC"'` -name '*.pm' -print |
find `perl -e 'print "@INC"'` -name '*.pm' -print
1
2
3
4
5
6
7
8
9
10
11
12
| #!/usr/bin/perl
use strict;
use ExtUtils::Installed;
my $inst = ExtUtils::Installed->new();
my @modules = $inst->modules();
foreach (@modules) {
my $ver = $inst->version($_) || "???";
printf( "%-12s -- %sn", $_, $ver );
}
exit 0; |
#!/usr/bin/perl
use strict;
use ExtUtils::Installed;
my $inst = ExtUtils::Installed->new();
my @modules = $inst->modules();
foreach (@modules) {
my $ver = $inst->version($_) || "???";
printf( "%-12s -- %sn", $_, $ver );
}
exit 0;
相关