techgirl has asked for the wisdom of the Perl Monks concerning the following question:

Does anyone have a scriptlet which displays information about what Perl modules you are using in your code? I've browsed the snippets section to no avail. Not sure if others have tried to analyse their systems as well. Thank you...

Replies are listed 'Best First'.
Re: Use of modules
by samtregar (Abbot) on Nov 09, 2004 at 20:17 UTC
Re: Use of modules
by osunderdog (Deacon) on Nov 09, 2004 at 20:17 UTC
    use strict; print join("\n", keys(%INC));

    "Look, Shiny Things!" is not a better business strategy than compatibility and reuse.


    OSUnderdog
Re: Use of modules
by erix (Prior) on Nov 09, 2004 at 22:07 UTC

    Or you may be looking for this, for activestate:

    ppm query

    It gives a list of installed modules with version on stdout.

Re: Use of modules
by gloryhack (Deacon) on Nov 10, 2004 at 01:16 UTC
    If you happen to have ptkdb installed, just crank your code up within it and click on the "Subs" tab in the right-hand pane.