Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris

Re: Determining module dependencies

by andreychek (Parson)
on Oct 13, 2001 at 05:42 UTC ( #118617=note: print w/ replies, xml ) Need Help??

in reply to Determining module dependencies

This isn't anywhere near as slick as fletch's solution.. however, I know you're a mod_perl guy.. so if you have your application running under mod_perl, you could always make use of mod_perl's status page, which lists all the loaded modules.

Althought I know you know this, for the benefit of everyone else, you can put this code into your httpd.conf to give yourself access to a mod_perl status report:

<Location /perl-status> SetHandler perl-script PerlHandler Apache::Status </Location>
Then you just fire up your browser, and wander over to

So if project X that you're working on now is the only Perl app loaded under mod_perl, it'd be pretty simple to figure out which modules it's using.



Comment on Re: Determining module dependencies
Download Code
Replies are listed 'Best First'.
aritst Re : Modules used in your program
by Anonymous Monk on Oct 13, 2001 at 07:43 UTC

    Get Devel::Modlist and then run
    perl -d:Modlist=stop,path
    which should give you all modules along with their path for
    The advantage is that you don't have to know all the modules installed.


Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://118617]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (6)
As of 2015-10-09 10:44 GMT
Find Nodes?
    Voting Booth?

    Does Humor Belong in Programming?

    Results (238 votes), past polls