> The only decision, then, is to decide which context to use; if it deparses
> to concatenation then it seems logical to use scalar context.  This also
> makes sense in that you can force list context with @{[ $weather->temp ]} if
> you really wanted it.

$ perl -le 'sub w{wantarray?"WA":"WS"};print " attempt: ${\scalar(w)}"'
 attempt: WS


Maybe we just need a shorter synonym for C<scalar>?

Reply via email to