in reply to Formating Text Files
Assuming that $Perf in the data file in your example, you can just read @read in scalar context to find the number of elements.
$lines_in_file = @read;Update: Forgot about counting the header row (thanks bronto). Read below.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Formating Text Files
by bronto (Priest) on Jun 20, 2002 at 15:45 UTC |