perl-unicode

Re: Determining IO layer set on filehandle

2010-01-29 08:44:58
* Michael Ludwig <michael(_dot_)ludwig(_at_)xing(_dot_)com> [2010-01-29 14:20]:
Is there an alternative way to achieve what I want, maybe
involving one of the IO modules?

You may want to just dup the filehandle and then diddle the dup’d
one. You may need to `seek $origfh, (tell $dupfh), 0` afterwards.
Not sure how much other state filehandles have that you might
need to transfer, assuming that the state matters to you at all.

Regards,
-- 
Aristotle Pagaltzis // <http://plasmasturm.org/>