Don't ask to ask, just ask | |
PerlMonks |
Re: use warnings vs. perl -wby andye (Curate) |
on Jan 24, 2001 at 16:26 UTC ( [id://53953]=note: print w/replies, xml ) | Need Help?? |
To switch on warnings when you can't use -w, use $^W=1 instead. Or if you use english then $^W is called $WARNING. You can limit the scope of your change by using local inside a block (e.g. if you wanted to switch off warnings in a limited scope). andy.
In Section
Seekers of Perl Wisdom
|
|