my @x is unnecessary - map copies on its own
map in the example modifies $_ and @_ is an alias to the original array so you need the copy in order not to modify the original array passed to the subroutine.
In reply to Re^2: a q-n-d csv_join function
by jwkrahn
in thread a q-n-d csv_join function
by perl5ever
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |