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)
In reply to Re^3: How to display first line of each record using the question code
by LanX
in thread How to display first line of each record using the question code
by SatisfyMyStruggles
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |