in reply to A regexp/split question

Leave out the /\s+/. As per the perlfunc:split, (found in perlman:perlfunc)this will skip leading whitespace.
@flds=split;
<code> If EXPR is omitted, splits the `$_' string. If PATTERN is also omitted, splits on whitespace (after skipping any leading whitespace). Anything matching PATTERN is taken to be a delimiter separating the fields. (Note that the delimiter may be longer than one character.) <code>