Mark Wagner wrote:
Is there any easy way to get a list of all modules loaded by a Perl script?

$ perl -le' use Time::Local; print for keys %INC '
warnings/register.pm
Carp.pm
vars.pm
strict.pm
Exporter.pm
constant.pm
Time/Local.pm
warnings.pm
Config.pm
integer.pm



John
--
Perl isn't a toolbox, but a small machine shop where you
can special-order certain sorts of tools at low cost and
in short order.                            -- Larry Wall

--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/


Reply via email to