You ought to check open(), print(), and close() for success. Also, did you mean the second logging() calls in the subs to be "Leaving ..." rather than "Entering ..."?
ihb
See perltoc if you don't know which perldoc to read!
Read argumentation in its context!
In reply to Re^2: Global filehandles?
by ihb
in thread Global filehandles?
by Marknel
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |