go ahead... be a heretic | |
PerlMonks |
Re: Splitting array into two with a regexby blahblahblah (Priest) |
on Nov 09, 2005 at 00:26 UTC ( [id://506948]=note: print w/replies, xml ) | Need Help?? |
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
In Section
Seekers of Perl Wisdom
|
|