On Wed, May 12, 2010 at 7:08 AM, Shlomi Fish <shlo...@iglu.org.il> wrote: > On Wednesday 12 May 2010 00:55:13 Lutz Gehlen wrote: >> Hello everybody, >> recently, I read the following statement in a CPAN Ratings entry: >> "this package also uses wantarray (a transgression amongst interface >> sensibilities)."
C<wantarray> is how to distinguish between array, scalar, and void contexts. When you want to distinguish between numeric, string, scalar-ref, array-ref, and hash-ref scalar contexts, C<overload> works for that. The sensibilities allegedly transgressed may be peculiar to the author of that comment. -- "To avoid both financial loss and jail time, we provide security mechanisms, including access control." -- Mike Burrows, 2006