Is there a reason you are not using lexical file handles?
Yes - the file will be opened on startup of the program, but the actual writing - if something is written at all - is performed at various other places (for instance by code pulled in from a file and evaluated with do. Actually, this is part of a debugging aid for our app, so there is no fancy solution needed; in contrary, it should be as simple as possible :-D.
In reply to Re^2: Is it possible to "use vars" or "our" a file handle?
by rovf
in thread Is it possible to "use vars" or "our" a file handle?
by rovf
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |