It seems that data file can split up to 17th elements and then the rest will start to split on the next line.I don't see from your output that split would behave in this way, but you can easily verify this, by doing a
just before the split.print "LINE JUST READ IS: [$_]\n";
In reply to Re^3: split function
by rovf
in thread split function
by tcheungcm
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |