Can I do the above as a single Hash slice assignment ?No. The problem is the '||' operator which provides scalar context to its LHS argument.
You'll have to type 'map' if you want a map... ;-)
In reply to Re: ||= in Hash Slice
by JavaFan
in thread ||= in Hash Slice
by Brovnik
For: | Use: | ||
& | & | ||
< | < | ||
> | > | ||
[ | [ | ||
] | ] |