http://qs321.pair.com?node_id=344269


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.