pileofrogs has asked for the wisdom of the Perl Monks concerning the following question:
Is there a way to know the path to the modules that have been loaded?
I'd like to include this in the debugging output of a script I'm writing.
I've had situations where I've run a script and it craps out because of an invalid module version, then I install the correct version and it still craps out, making me dizzy until I realize I've got two versions installed. I'd like to make that situation easier on my users by giving them the option to print out exactly which file they're running.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Which module did I load?
by friedo (Prior) on Aug 21, 2006 at 20:56 UTC | |
by pileofrogs (Priest) on Aug 21, 2006 at 21:06 UTC | |
by jwkrahn (Abbot) on Aug 21, 2006 at 22:16 UTC | |
|
Re: Which module did I load?
by jhourcle (Prior) on Aug 22, 2006 at 00:27 UTC | |
|
Re: Which module did I load?
by renodino (Curate) on Aug 21, 2006 at 23:16 UTC |