http://www.perlmonks.org?node_id=1013253


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

  • Comment on Re^2: Close a file and reopen a new one at midnight