![]() |
|
There's more than one way to do things | |
PerlMonks |
Re: Re: Re: another way to split with limitby guillaume (Pilgrim) |
on Aug 20, 2001 at 00:34 UTC ( #106079=note: print w/replies, xml ) | Need Help?? |
Ok so I guess your print statement here isn't related to your question and that you only want to match both side of `:' You could do so like that: The regex at the right remembers the matches due to the parenthesis, and $a get the first value and $b the second. Guillaume
In Section
Seekers of Perl Wisdom
|
|