Perl-Sensitive Sunglasses | |
PerlMonks |
Re: regex splittingby colwellj (Monk) |
on Nov 19, 2009 at 22:34 UTC ( [id://808275]=note: print w/replies, xml ) | Need Help?? |
Its doing what you are asking it to. Which is split by space and left bracket. Split will keep doing that as many times as it can to make your array. You could look at adding a; This is pretty ugly though.
In Section
Seekers of Perl Wisdom
|
|