in reply to Printing Array to a file
Alternately use the join function such as
or print a delimiter after each element (even after the last) of the array with a for loop likeprint $fh join(":", @array);
print $fh $_, "\n" for @array;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Printing Array to a file
by johngg (Canon) on Jan 27, 2010 at 11:15 UTC |