in reply to Re: Is it possible to "use vars" or "our" a file handle?
in thread Is it possible to "use vars" or "our" a file handle?
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.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Is it possible to "use vars" or "our" a file handle?
by chromatic (Archbishop) on Nov 02, 2009 at 18:24 UTC | |
|
Re^3: Is it possible to "use vars" or "our" a file handle?
by ikegami (Patriarch) on Nov 02, 2009 at 18:46 UTC | |
|
Re^3: Is it possible to "use vars" or "our" a file handle?
by kennethk (Abbot) on Nov 02, 2009 at 16:31 UTC |