jeyroz has asked for the wisdom of the Perl Monks concerning the following question:

OK, newbie question. I have been modifying and re-modifying perl scripts and am finding old stray variables left behind here and there. The variables are being declared but not initialized in most cases. Is there a way the perl engine can detect an un-used variable? If I am using -w, will such warnings show up in an error log? Thanks for the help. - j