Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling

Re: Re: Re: CamelTrouble

by Vautrin (Hermit)
on Apr 11, 2004 at 18:03 UTC ( [id://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?

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

How do I use this?Last hourOther CB clients
Other Users?
Others surveying the Monastery: (6)
As of 2024-04-12 14:00 GMT
Find Nodes?
    Voting Booth?

    No recent polls found