ExtUtils::Installed vs pminst vs?

James Laver james.laver at gmail.com
Sun Mar 29 19:08:51 BST 2009


On 29 Mar 2009, at 15:14, Minty wrote:
>
> Holy wars aside, is there a cross platform friendly way to get a list
> of what modules I have available?


Perhaps you're looking on the wrong level.

Something like this?

perl -ne 'next if 1..9; $_ = (split /\s+/,$_)[0]; eval "require $_";  
print "$_\n" if $@;' modules/02packages.details.txt

That's a starting point, it does result in a few redefinitions that  
perl isn't happy about. Perhaps you could work out something with  
subprocesses.

HTH,
--James


More information about the london.pm mailing list