i agree, at least until perl6. $hash{key} says "scalar" right on it at the beginning. if you could make perl agree to do it, i wouldn't mind @hash{key} returning a list, but i suspect that would cause other problems.
and, as i understand it, in perl6 you'll say %hash{key} instead, anyway.
In reply to Re: (tye)Re: wantarray and Tied Hashes
by Vynce
in thread wantarray and Tied Hashes
by davorg
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |