jesuashok has asked for the wisdom of the Perl Monks concerning the following question:
Hi,
diagnostics throws the error only when "$i" is used inside the code without initialising.
Hi monks.
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.#!/usr/bin/perl use strict; use diagnostics; my $i;
diagnostics throws the error only when "$i" is used inside the code without initialising.
"Keep pouring your ideas"
Back to
Seekers of Perl Wisdom