Help for this page

Select Code to Download


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