* Michael Ludwig <michael.lud...@xing.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/>