Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Re: Re: Re: CamelTrouble

by Vautrin (Hermit)
on Apr 11, 2004 at 18:03 UTC ( #344269=note: print w/replies, xml ) Need Help??


in reply to Re: Re: CamelTrouble
in thread CamelTrouble

If you use warnings; you can use no warnings qw(foobar); in a block to turn off the foobar type warning. So you could do:

no warnings qw(uninitialized);

Or you could check your code, i.e.:

# so it's not undefined: $foo = 0 unless (defined $foo);

I put a big write up on my scratchpad for somebody about using use warnings for fine grained control. Check it out if you're interested.


Want to support the EFF and FSF by buying cool stuff? Click here.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (2)
As of 2020-10-25 22:28 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My favourite web site is:












    Results (249 votes). Check out past polls.

    Notices?