in reply to New Problem
in thread Tagging the last elements
That's why I suggested the unadorned split for breaking up the input line into fields. That is equivalent to
(note the quoted space, not a regex), which says "ignore leading white space in the string, and return the list of strings separated by any amount of any kind of white space."split(" ",$_)
If some of your field values are expected to contain a space now and then, and your field separation is variable (not just a single "\t" every time), then you've got a problem with unparsable data, and you need to fix that first.
(updated to fix formatting)
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: New Problem
by Marshall (Canon) on Jul 30, 2009 at 04:32 UTC | |
by graff (Chancellor) on Jul 30, 2009 at 04:47 UTC |