Okay, thanks, now I understand what you mean. Chas. Owens wrote:
... to detect what dependencies the code has
Even if dependencies is the subject of this thread, it's not really what the OP asked about. He simply asked for an "easy way to get a list of all modules loaded by a Perl script".
A module that isn't always loaded may still be considered a dependency. So I have a feeling that we are comparing apples with oranges...
-- Gunnar Hjalmarsson Email: http://www.gunnar.cc/cgi-bin/contact.pl -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/