Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re^3: A Warning Issue!

by thezip (Vicar)
on Feb 19, 2008 at 16:55 UTC ( #668841=note: print w/ replies, xml ) Need Help??


in reply to Re^2: A Warning Issue!
in thread A Warning Issue!

At the risk of adding more bulk to your code, try this check first, as well as one for $_-> { TEST34) }.

if ($_->{ TEST33 } ) { <your previous code here ...> }

Your wish is my commandline.


Comment on Re^3: A Warning Issue!
Select or Download Code
Replies are listed 'Best First'.
Re^4: A Warning Issue!
by dsheroh (Parson) on Feb 19, 2008 at 18:23 UTC
    Just don't forget the implicit assumption here that $_->{TEST33} will never be zero. If zero is a valid (or even possible) value, you probably want to test if (defined $_->{TEST33}) instead.
Re^4: A Warning Issue!
by Anonymous Monk on Feb 19, 2008 at 18:13 UTC
    I could use something like that for all that apply as well, right?

    if(defined $_->{ TEST33 } && $_->{ TEST34 } && $_->{ TESTX33 }) { <Previous code here ...> }

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (15)
As of 2015-07-28 15:30 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 (257 votes), past polls