Use the third parameter (LIMIT) for split -- see perlfunc
Alexander
In reply to Re: Optimizing Splitting of Array by afoken in thread Optimizing Splitting of Array by bichonfrise74