Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
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 drinking their drinks and smoking their pipes about the Monastery: (15)
As of 2015-04-27 19:53 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Who makes your decisions?







    Results (510 votes), past polls