in reply to Re^5: Scalar context of slice (myth)
in thread Scalar context of slice
...except also when they [map and grep] find themselves in a void context, in which case they chose not to return anything at all.
That is true as of Perl version 5.10 however in all previous verions they did "return" a list in void context.
|
---|