in reply to working with non-delimited files
my @fields = split " ", $line, 6; print join("|", @fields); [download]
Update: Hmm, I thought I read all the replies, but FunkyMonk already had it.