On Tue, Mar 5, 2013 at 12:41 PM, Chris Stinemetz <chrisstinem...@gmail.com> wrote: > Hello List, > > I am working on a script to parse large files, by large I mean 4 million > line+ in length and when splitting on the delimiter ( ; ) there are close > to 300 fields per record, but I am only interested in the first 44.
Consider pre-processing your input with the 'cut' shell utility, something like: cut -f1-45 -d';' $FILE That'll cut down on the amount of data you're shoving through Perl. -- To unsubscribe, e-mail: beginners-unsubscr...@perl.org For additional commands, e-mail: beginners-h...@perl.org http://learn.perl.org/