in reply to Re^2: how to get the perl installed modules
in thread how to get the perl installed modules

my $inst = ExtUtils::Installed->modules();

should be

my $inst = ExtUtils::Installed->new();

Maybe just copy and paste next time?