in reply to Re: split an array in two
in thread split an array in two

I think this is better, the one above gives an uninitialized value warning...
sub split_array_in_two{ [@_[0..@_/2-1]], [@_[@_/2..@_-1]] }