I wouldn't like to say which is fastest (I'd guess the third). --Daveprint FILE "$_\n" for @array; print FILE join "\n", @array, ""; print FILE map "$_\n", @array; do { local $,="\n"; print FILE @array };
In reply to Re: Printing arrays to a file.
by dpuu
in thread Printing arrays to a file.
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |