in reply to
Splitting array into two with a regex
There's a module on CPAN that does this in a general way, even letting you split the list into more than two result lists:
List::Part
.
-Joe
Comment on
Re: Splitting array into two with a regex
In Section
Seekers of Perl Wisdom