- or download this
sub openFileForAppending(*$)
{
...
return $handle;
}
- or download this
openFileForWriting(TEST, 'test.txt');
print TEST "A test.\n";
close TEST;
- or download this
openFileForWriting(TEST, 'test.txt');
print TEST test();
...
{
return "Another test.\n"
}