Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re^2: When warnings get in the way

by wazoox (Prior)
on Apr 22, 2005 at 19:01 UTC ( [id://450536]=note: print w/replies, xml ) Need Help??


in reply to Re: When warnings get in the way
in thread When warnings get in the way

Yup, quite agree with that. For instance when grabbing data from a database, some columns may be empty, though initializing the hash before fetching the data would be a real pain. So I often use something like

no warnings; print Dumper(\%bighash); use warnings;

but your

no warnings 'uninitialized';

is a neat trick, maybe I'll try this one next time.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others musing on the Monastery: (4)
As of 2025-06-24 06:27 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.