in reply to Re: Printing Array to a file
in thread Printing Array to a file
or print a delimiter after each element (even after the last) of the array with a for loop like
You can still use the join idiom rather than choosing a loop.
print $fh join qq{\n}, @array, q{};
I hope this is of interest.
Cheers,
JohnGG
|
|---|