I replace the new function by module function
That's where you're going wrong. You're no longer creating an ExtUtils::Installed object.
perl_lover's code does exactly what you want. There's no need to change it.
"The first rule of Perl club is you do not talk about
Perl club."
-- Chip Salzenberg
In reply to Re^3: how to get the perl installed modules
by davorg
in thread how to get the perl installed modules
by perladdict
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |