print $fh $lsep if $rows++ and $lsep; [download]
In reply to How should I read print .. if .. and ? by skinnymofo