in reply to Re: need a clearer understanding
in thread need a clearer understanding

> So the code between the if() doesn't get executed if line is empty.

I'd probably rewrite it this way to kill one indent level:

next if $line eq "";