On Feb 18, 2008 10:34 PM, Gunnar Hjalmarsson <[EMAIL PROTECTED]> wrote: > 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... snip
So long as you add the caveat that the detection code tells you what modules are currently loaded (i.e. not all modules that may be loaded by the script), I agree. -- Chas. Owens wonkden.net The most important skill a programmer can have is the ability to read. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/