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


Hi monks.

#!/usr/bin/perl use strict; use diagnostics; my $i;
In the above code even after including diagnostics module it doesn't throw any error regarding the un-initialised variable $i. Is there any module available to check un-initialised. This will be useful for me to remove the un-initialised variables from the code.

diagnostics throws the error only when "$i" is used inside the code without initialising.

"Keep pouring your ideas"