Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re: use warnings vs. perl -w

by andye (Curate)
on Jan 24, 2001 at 16:26 UTC ( #53953=note: print w/ replies, xml ) Need Help??


in reply to use warnings vs. perl -w

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.


Comment on Re: use warnings vs. perl -w
Select or Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (12)
As of 2015-07-01 18:22 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (16 votes), past polls