![]() |
|
Keep It Simple, Stupid | |
PerlMonks |
Devel::GC::Helper and unused variablesby 0xbeef (Hermit) |
on Feb 26, 2007 at 20:02 UTC ( #602205=perlquestion: print w/replies, xml ) | Need Help?? |
0xbeef has asked for the wisdom of the Perl Monks concerning the following question:
I need some guidance in my usage of Devel::GC::Helper. I thought it would show unused variables, but in this context it seems to be showing leaked CODE / ARRAYs. I have a perl script, with an external module wherein I have added:
which gives
The detail is an effort on my side to show the content of the array in question, since I'm to dumb to translate ARRAY(0x8149708) into an array name. I'm too dumb to understand how to use perl -d for this. ;) Does anyone perhaps know if I should be concerned about the Leaked warnings? Secondly, does anyone know of a method to track down unused variables in large perl scripts, without the manual rigmarole? My searches lead me to perl_checker, but this seems to be intended for Mandriva. Niel
Back to
Seekers of Perl Wisdom
|
|