Since you throw away the hash I think you can simplify the grep a little:
grep $u{ $_ }-- >0, split //, $str
In reply to Re: Unique List of Common Characters Between Two Strings
by de-merphq
in thread Unique List of Common Characters Between Two Strings
by Limbic~Region
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |