You want >> not >
open F, ">$file" or die "Can't create/overwite $file $!\n"; open F, ">>$file" or die "Can't append to $file $!\n";
cheers
tachyon
In reply to Re: append
by tachyon
in thread append text to existing file
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |