Occasionally, a programer who knows what they're doing will create code which causes a non-fatal error to be printed that they know is OK. In such a case, use warnings will allow you to put a no warnings for the area of code in question, but keep the warnings for the rest of the program. OTOH, using -w would require you to shut off warnings for the entire code.
----
I wanted to explore how Perl's closures can be manipulated, and ended up creating an object system by accident.
-- Schemer
: () { :|:& };:
Note: All code is untested, unless otherwise stated
In reply to Re: use of -w and warnings
by hardburn
in thread use of -w and warnings
by RolandGunslinger
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |