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.
In reply to Re^2: Question on the format statement
by chromatic
in thread Question on the format statement
by perl_seeker
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |