in reply to Running a Sub for a Text File
Note that each paragraph will include the blank line at the end.
So you could say:
... to grab your data in chunks. You could split each chunk on "\n" characters to get the individual players.$/ = ""; $players1 = <INPUT>; $totals1 = <INPUT>; $players2 = <INPUT>; $totals2 = <INPUT>;
Update: I should mention that this presumes your blank lines are really blank, with no whitespace!
buckaduck
|
|---|