in reply to Re: Catching errors in closing lexical filehandles
in thread Catching errors in closing lexical filehandles
On 5.005_03, you'd get a "Can't use an undefined value as filehandle reference" error at compilation. Hence the gensym.
In Section
Seekers of Perl Wisdom