Harry Zhu <[EMAIL PROTECTED]> wrote:
> "use strict" will find the undeclared/undefined variables.
> 
> something  like
> my $var;
> 
> and later on used in the program will not be find by the "use strict", but 
> will cause "use uninitialized variables" warnings if -w switch is on.

        If you really want to cause your scripts to crash on every
uninitialized variable so you have to go in and fix it, you can do this:

use warnings FATAL => 'uninitialized';

        Cheers,
                Tyler

Reply via email to