Try inserting into your while loop:
next if m/^\s*$/; [download]
In reply to Re: Best way to pick apart log file. by mkmcconn in thread Best way to pick apart log file. by dru145