in reply to Re^2: How to display first line of each record using the question code
in thread How to display first line of each record using the question code

> I can't get $/="__Data__\n" to work

My code works, so yours must be wrong! :)

Try to trek down the problem by replacing the "code in question" bit by bit.

Did you use double-quotes?

Does "\n" really immediately follow "__Data__" in your data?

Cheers Rolf

( addicted to the Perl Programming Language)

  • Comment on Re^3: How to display first line of each record using the question code

Replies are listed 'Best First'.
A reply falls below the community's threshold of quality. You may see it by logging in.