Welcome to the Monastery | |
PerlMonks |
Re^2: Unique List of Common Characters Between Two Stringsby Limbic~Region (Chancellor) |
on Jan 11, 2005 at 19:56 UTC ( [id://421398]=note: print w/replies, xml ) | Need Help?? |
de-merphq,
...I think you can simplify the grep a little I thought about that too at first but it is flawed thinking. If a letter appears more than once then it can go from 0 to a negative number which will again start returning true values. The intention was to only produce a unique list. Cheers - L~R
In Section
Cool Uses for Perl
|
|