<a href="http://www.ddj.com/documents/s=1498/ddj0105pl/">DDJ: Tracking Perl Module Use</a>


DDJ: Tracking Perl Module Use

15.10.2002, 15:49 · Martin · Permalink

Keeping track of all the modules used in your software can be difficult. Luckily there's module to do this for you: Devel::Modlist. This handy debugger module can analyze your installed modules and give you various lists of them depending on what you want to see.

Just as with other Perl debuggers, you activate the Devel::Modlist debugger with the -d switch to perl.
perl -d:Modlist script.pl

perl -d -MDevel::Modlist=stop script.pl
You get the same module list as before, but your script does not execute, so you do not have to worrying about separating the output from Devel::Modlist from the output of your script.


alles Bild, Text und Tonmaterial ist © Martin Spernau, Verwendung und Reproduktion erfordert die Zustimmung des Authors

Martin Spernau
© 1994-2026


amazon.de Wunschliste

Facebook me!
Google+

powered by Traumtank