Welcome to the Monastery | |
PerlMonks |
Re: concatenate directories and files into one csvby almut (Canon) |
on Apr 28, 2009 at 16:42 UTC ( [id://760661]=note: print w/replies, xml ) | Need Help?? |
Open the output file once outside of the loop, or open it in append mode (">>"), if you want to accumulate content... Update: Actually, it seems that FILE2 is supposed to be the output file for the accumulated content... (thanks jethro!) The comment with respect to opening it once or in append mode still applies, though.
In Section
Seekers of Perl Wisdom
|
|