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

Re^2: ||= in Hash Slice

by Brovnik (Hermit)
on Jan 06, 2009 at 12:12 UTC ( #734416=note: print w/ replies, xml ) Need Help??


in reply to Re: ||= in Hash Slice
in thread ||= in Hash Slice

$_ here is the key, which will always be defined, so the defined($item->{$_}) as above is needed.
Edit: Oops, misread the reply, apologies.


Comment on Re^2: ||= in Hash Slice
Re^3: ||= in Hash Slice
by ikegami (Pope) on Jan 06, 2009 at 12:31 UTC
    No it's not. It's the value.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (5)
As of 2014-07-25 04:11 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (167 votes), past polls