...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.
In reply to Re^6: Scalar context of slice (myth)
by jwkrahn
in thread Scalar context of slice
by thenaz
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |