in reply to Re: Confused Contexts and wantarray
in thread Confused Contexts and wantarray
how is this scary?
@{...} puts flab() in array context so it returns the array @r.
scalar(...) then evaluates that array in scalar context, returning its size.
I don't see anything magical in there. (apart from me probably mixing array and lists again)
In Section
Seekers of Perl Wisdom