Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re: use of -w and warnings

by Ovid (Cardinal)
on Dec 10, 2003 at 16:16 UTC ( #313758=note: print w/replies, xml ) Need Help??


in reply to use of -w and warnings

See perldoc for both warnings and perllexwarn. Basically, the warnings pragma gives you lexically scoped warnings and much finer grained control over the warnings. For example, if you don't want "redefined" warnings, but you don't want to suppress all of the other warnings, rather than create a customer $SIG{__WARN__} handler, you can specify no warnings 'redefine'.

Cheers,
Ovid

New address of my CGI Course.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://313758]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (2)
As of 2021-03-05 05:11 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My favorite kind of desktop background is:











    Results (109 votes). Check out past polls.

    Notices?