If you're looking beyond the parens, you're looking too far (unless it's the arglist of a prototyped function). ( 1 => blah() ) is just ( 1, blah() ), and this is clearly a list context for blah() because (1, @a) will return (1, 'a', 'b') and not (1, 2) (assuming @a = qw(a b);).
In reply to Re: wantarray - surprise behaviour
by ikegami
in thread wantarray - surprise behaviour
by shemp
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |