in reply to Split pattern doesn't match last line of file
In other words, simply skip lines that don't contain a comma. Everything else could stay the same.... while (<>) { next unless (/,/); ...
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Split pattern doesn't match last line of file
by GertMT (Hermit) on Jan 02, 2007 at 06:58 UTC | |
by graff (Chancellor) on Jan 03, 2007 at 01:33 UTC |