Syntactic Confectionery Delight | |
PerlMonks |
Re: cause perl to die on use of unintialized variablesby moritz (Cardinal) |
on Jun 23, 2010 at 11:22 UTC ( [id://846053]=note: print w/replies, xml ) | Need Help?? |
should do what you want. Update: if you don't want to add that to your file, but rather want it confined to development uses only, you can also run your perl script as
to get that effect without modifying your script. But beware, it can be overridden inside the script, or in modules used by the script. For more information on the warnings pragma, please consult perllexwarn.
Perl 6 - links to (nearly) everything that is Perl 6.
In Section
Seekers of Perl Wisdom
|
|