in reply to Re: Re: another way to split with limit
in thread another way to split with limit
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:
Guillaume
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.($a, $b) = /(\w+):(\w+)/;
Guillaume
|
---|
In Section
Seekers of Perl Wisdom