|
|
| We don't bite newbies here... much | |
| PerlMonks |
Re^2: Collapsing a string to unique charactersby dwhite20899 (Friar) |
| on Jan 09, 2009 at 14:17 UTC ( [id://735188]=note: print w/replies, xml ) | Need Help?? |
|
ikegami,
I tried the lexical order method, and it's almost what I need... On a mac, I get this output:
If I change $seen{$_}++ to $seen{$_}+=2 then I get this: which DOES list all the chars used, but has duplicates.
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||||||||||