in reply to Re^2: using lexically scoped variable as a filehandle
in thread using lexically scoped variable as a filehandle
*FH{IO} *FH{FORMAT}
for a filehandle FH. It is possible to emulate write without a typeglob, using formline and the accumulator. See perlform and e.g. Re: How do I print formatted text to a scalar instead of a filehandle?.
--shmem
_($_=" "x(1<<5)."?\n".q·/)Oo. G°\ /
/\_¯/(q /
---------------------------- \__(m.====·.(_("always off the crowd"))."·
");sub _{s./.($e="'Itrs `mnsgdq Gdbj O`qkdq")=~y/"-y/#-z/;$e.e && print}
|
|---|