in reply to working with non-delimited files
print join "|", split /\s+/, $_, 6 for <DATA> [download]