in reply to How to display first line of each record using the question code
I just tried Rolf's code, and it did not seem to work properly for me, although it looks correct.
Then I realized that copying and pasting from Windows to Cygwin was probably the problem. So I changed Rolf's code as follows:
local $/="__data__\r\n";And then it works and does what is expected
Maybe it is all what you need to do.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: How to display first line of each record using the question code
by Anonymous Monk on May 18, 2013 at 19:33 UTC | |
by Anonymous Monk on May 18, 2013 at 19:48 UTC | |
by SatisfyMyStruggles (Initiate) on Jun 05, 2013 at 23:14 UTC |