Re: Determining IO layer set on filehandle
[email protected] (Aristotle Pagaltzis) Fri, 29 Jan 2010 15:37:22 +0100
| Newsgroups | perl.unicode |
|---|---|
| Message-ID | <[email protected]> |
* Michael Ludwig <[email protected]> [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/>