in reply to Re: Terminating Read Of Input
in thread Terminating Read Of Input

Since this is a while loop, why not just put the check in the while condition?
while( my $line = <$fh> and $line !~ /TOTAL COMMAND SUMMARY/) { ... }