openFileForWriting(TEST, 'test.txt'); print TEST test(); close TEST; sub test { return "Another test.\n" }