This solution (and the map solutions) all make the assumption that you don't mind burning RAM if your input file is huge. Aside from that, they're all lovely. I'd happily take them home to meet mom, if mom understood Perl. John Porter wrote: > Larry Rubinow wrote: > > > > push( @ids, split(/, |\n/, $line)) while ($line = <CLONEIDSLIST>); > > What about: > > $/ = undef; > @ids = split /, |\n/, <CLONEIDSLIST>; ==== Want to unsubscribe from Fun With Perl? ==== Well, if you insist... Send mail with body "unsubscribe" to ==== fwp-request@technofile.org