Both -w> and <c>use warnings; turn on the warnings diagnostics, it's a matter of scope.
use warnings; turns on warnings-checking in the file containing the statement (local scope). -w set warnings for your file and any used modules (global scope).
You usually (probably) want use warnngs; routinely.
----
I Go Back to Sleep, Now.
OGB
In reply to Re^2: how to turn off warning message
by Old_Gray_Bear
in thread how to turn off warning message
by chuckd
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |