in reply to Re: Question on the format statement
in thread Question on the format statement

I have to admit that I have been unable to get format to work with lexical file handles.

You have to localize the appropriate typeglob, then assign the lexical filehandle to the glob. It's a workaround, but formats don't work with lexical filehandles. They get bound to typeglobs.