> 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>?
- RFC - Interpolation of method calls Michael G Schwern
- Re: RFC - Interpolation of method calls Michael Fowler
- Re: RFC - Interpolation of method calls Nathan Wiger
- Re: RFC - Interpolation of method calls Michael Fowler
- Re: RFC - Interpolation of method calls David L. Nicol
- Re: RFC - Interpolation of method calls Michael Fowler
- Re: RFC - Interpolation of method calls Tom Christiansen
- Re: RFC - Interpolation of method calls Nick Ing-Simmons
- Re: RFC - Interpolation of method calls Tom Christiansen
- Re: RFC - Interpolation of method calls Michael G Schwern
- Re: RFC - Interpolation of method calls Nathan Wiger
- Re: RFC - Interpolation of method calls Tom Christiansen
- Re: RFC - Interpolation of method calls Nathan Wiger
- Re: RFC - Interpolation of method ... Tom Christiansen
- Re: RFC - Interpolation of met... Michael G Schwern