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.

Replies are listed 'Best First'.
Re^3: ||= in Hash Slice
by ikegami (Patriarch) on Jan 06, 2009 at 12:31 UTC
    No it's not. It's the value.