What does "it errors out" mean? We can only guess at the problem without the exact text of the error message.
With that said, the easiest approach for this problem in general is to write a new file, delete (unlink) the old file, then rename the new file.
Improve your skills with Modern Perl: the free book.
In reply to Re: Writing to a spreadsheet that the data came from
by chromatic
in thread Writing to a spreadsheet that the data came from
by trickyq
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |