A
Alain Star
Hello!
Can anyone tell me how to write a block of text at the beginning of a file
instead of appending it as in the following example? Thanks. AS
my $fh = new FileHandle;
$fh->open(">> $fileName");
print $fh "$body";
print $fh "\n\n";
$fh->close;
Can anyone tell me how to write a block of text at the beginning of a file
instead of appending it as in the following example? Thanks. AS
my $fh = new FileHandle;
$fh->open(">> $fileName");
print $fh "$body";
print $fh "\n\n";
$fh->close;