in reply to A regexp/split question

i would do this: @flds = grep { length } split(/\s+/);