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
In reply to Re: Need help! Data in file getting deleted
by Abigail-II
in thread Need help! Data in file getting deleted
by mr_evans2u
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |