in reply to Re: Only last record is written to the output file instead of all records
in thread Only last record is written to the output file instead of all records
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.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^3: Only last record is written to the output file instead of all records
by davido (Cardinal) on Nov 17, 2008 at 07:29 UTC | |
by jwkrahn (Abbot) on Nov 17, 2008 at 09:30 UTC |
In Section
Seekers of Perl Wisdom