If you only need the first line ... then only grab the first line:
But like dragonchild requested, we can't really help you completely unless we know more.my $line = <FILEPTR>;
jeffa
L-LL-L--L-LL-L--L-LL-L-- -R--R-RR-R--R-RR-R--R-RR B--B--B--B--B--B--B--B-- H---H---H---H---H---H--- (the triplet paradiddle with high-hat)
In reply to Re: How to test for a new line
by jeffa
in thread How to test for a new line
by BadMojo
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |