Keep It Simple, Stupid | |
PerlMonks |
Re^3: Regex Optimization Questionby ikegami (Patriarch) |
on Mar 23, 2006 at 21:54 UTC ( [id://538885]=note: print w/replies, xml ) | Need Help?? |
It's not quite the same. -w is actually equivalent to BEGIN { $^W = 1; }. There biggest difference is that -w will affect included modules, whereas use warnings; only affects the current scope (block or file).
In Section
Seekers of Perl Wisdom
|
|