There's also Devel::Modlist, used like
which is handy as it doesn't require any modification of the program itself.perl -d:Modlist=options script.pl perl -MDevel::Modlist=options script.pl # equivalent
lodin
In reply to Re: List all modules and versions used by a program (Devel::Modlist)
by lodin
in thread List all modules and versions used by a program
by tachyon-II
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |