Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"

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.

Replies are listed 'Best First'.
Re^4: A Warning Issue!
by dsheroh (Prior) 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?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://668841]
[choroba]: Maybe the first four got downvoted and were deleted from the list?
LanX what?
marto deletes himself from the all lists
QM deletes himself from all delete lists
LanX passes the blame to jdpatches. ..
Eily the verb from this sentence

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (11)
As of 2018-03-20 10:12 GMT
Find Nodes?
    Voting Booth?
    When I think of a mole I think of:

    Results (249 votes). Check out past polls.