$hand =~ s/((.)\2*)/length $1/ge
Update: Removed useless brackets
--
I'd like to be able to assign to an luser
In reply to Re: Re: Keeping track of Pairs
by Albannach
in thread Keeping track of Pairs
by Satira
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |