In other words, simply skip lines that don't contain a comma. Everything else could stay the same.... while (<>) { next unless (/,/); ...
In reply to Re: Split pattern doesn't match last line of file
by graff
in thread Split pattern doesn't match last line of file
by GertMT
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |