Pathologically Eclectic Rubbish Lister | |
PerlMonks |
Re^2: Only last record is written to the output file instead of all recordsby valavanp (Curate) |
on Nov 17, 2008 at 06:49 UTC ( [id://724011]=note: print w/replies, xml ) | Need Help?? |
If i have the files open before the loop the files will be created automatically without satisfying the condition. For e.g if i have only 5 records, it will create 3 files. All the 5 records will be written to the first file and leaving other files blank without any content.
In Section
Seekers of Perl Wisdom
|
|