in reply to Unique List of Common Characters Between Two Strings
Since you throw away the hash I think you can simplify the grep a little:
grep $u{ $_ }-- >0, split //, $str
---
alter ego of demerphq
alter ego of demerphq
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: Unique List of Common Characters Between Two Strings
by Limbic~Region (Chancellor) on Jan 11, 2005 at 19:56 UTC | |
by de-merphq (Beadle) on Jan 12, 2005 at 08:55 UTC |
In Section
Cool Uses for Perl