Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options

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
Replies are listed 'Best First'.
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?

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

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (5)
As of 2015-11-30 02:04 GMT
Find Nodes?
    Voting Booth?

    What would be the most significant thing to happen if a rope (or wire) tied the Earth and the Moon together?

    Results (756 votes), past polls