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


in reply to Re^2: One to one file output idiom
in thread One to one file output idiom

Closing ARGV before it gets opened again would be the non hacky thing way to do it since it's shown in the doc, although it's a bit longer.

Edit: choroba pointed out it was shown in the doc for eof not open