in reply to Need help! Data in file getting deleted
That doesn't open the file for appending, it opens it for writing. The entire content of the file will be deleted at this point.open FILE, ">$filename" or die "Could not open file '$filename' for ap +pending: $! ";
Abigail
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Need help! Data in file getting deleted
by Bagarre (Sexton) on Nov 19, 2003 at 17:01 UTC | |
by mr_evans2u (Novice) on Nov 19, 2003 at 17:25 UTC | |
by allolex (Curate) on Nov 19, 2003 at 17:27 UTC | |
by Itatsumaki (Friar) on Nov 19, 2003 at 17:27 UTC | |
by mr_evans2u (Novice) on Nov 19, 2003 at 17:39 UTC |