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.
In reply to Re: Formating Text Files
by DamnDirtyApe
in thread Formating Text Files
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |