- or download this
$append = 0;
if ($append)
...
{
open(MYOUTFILE, ">>clean_text"); #open for write, append
}
- or download this
$append = 1;
...
...
{
# Trample all over my irreplaceable data
}
- or download this
my $append = 0;
my $cleanedFile = q{clean_text};
...
open my $cleanedFH, q{>}, $cleanedFile
or die qq{open: $cleanedFile for overwrite: $!\n};
}