Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Use of modules

by techgirl (Beadle)
on Nov 09, 2004 at 19:40 UTC ( [id://406455]=perlquestion: print w/replies, xml ) Need Help??

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 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 samtregar (Abbot) on Nov 09, 2004 at 20:17 UTC
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.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://406455]
Approved by Corion
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others wandering the Monastery: (3)
As of 2024-04-24 17:24 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found