No good. Hash keys are unordered.So? The OP didn't make it a requirement the result was ordered:
I have a number of strings, made up only of 64 characters: a-zA-Z0-9/+ . I need to collapse these down to just the unique characters in the string.
Besides, Perlmonks has a long tradition of making small changes to the requirements for the sake of winning at golf. ;-)
In reply to Re^3: Collapsing a string to unique characters
by JavaFan
in thread Collapsing a string to unique characters
by dwhite20899
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |