in reply to An odd thing happend on the way to answering a SoPW - seek DATA oddity
I'm not sure how, but it looks like the end-of-line sequences may have something to do with it, in conjunction with the special nature of the DATA filehandle.
When I tried it with $/ = \6 (and other necessary adjustments), I observed the expected behavior in both cases.
|
|---|