Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery

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.



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 lurking in the Monastery: (3)
As of 2020-10-24 09:06 GMT
Find Nodes?
    Voting Booth?
    My favourite web site is:

    Results (242 votes). Check out past polls.