in reply to Re: Close a file and reopen a new one at midnight
in thread Close a file and reopen a new one at midnight
That, however stylish it may be, using lexical file handles will not resolve the root cause of the problem. The file handle is being closed and reopened in a logically correct location.
Update: Updated statement to clarify.
--MidLifeXis
|
---|
In Section
Seekers of Perl Wisdom