TheDauntless
Programmer
Hi,
I'm wondering how I can create a file handle from within a sub routine, that is available in the entire document.
In my routine, there is, fe:
open (MYFILE,"> /test/output.txt");
How can I declare the (empty) scalar/variable in my main scope, so that I can 'fill it' from within my subroutine?
Greets!
I'm wondering how I can create a file handle from within a sub routine, that is available in the entire document.
In my routine, there is, fe:
open (MYFILE,"> /test/output.txt");
How can I declare the (empty) scalar/variable in my main scope, so that I can 'fill it' from within my subroutine?
Greets!