in reply to Re: __DATA__ in XML::Simple and/or IO::Handle
in thread __DATA__ in XML::Simple and/or IO::Handle
When you do an fdopen on the existing descriptor is it starting at offset 0 or wherever perl left the pointer (which is usually the start of the data right after __DATA__)? That'd be the key. If there's something special about this fdopen that I don't know about you could continue to use it as long as you seek the handle ahead to the location of the original *DATA handle.
⠤⠤ ⠙⠊⠕⠞⠁⠇⠑⠧⠊
|
|---|