You can also write it
sub split_array_in_two{ \@_, [splice @_, 1+$#_/2] } [download]
In reply to Re^2: split an array in two by Roy Johnson in thread split an array in two by water