in reply to How to test for a new line
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)
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: How to test for a new line
by BadMojo (Novice) on May 13, 2005 at 15:14 UTC | |
by jeffa (Bishop) on May 13, 2005 at 15:20 UTC | |
by mrborisguy (Hermit) on May 13, 2005 at 15:24 UTC |