![]() |
|
Your skill will accomplish what the force of many cannot |
|
PerlMonks |
Re: to select unique charactersby kyle (Abbot) |
on Feb 13, 2008 at 17:53 UTC ( #667791=note: print w/replies, xml ) | Need Help?? |
Here's an even shorter way, if you don't want to use a variable at all:
However, this is slower than the slice and grep methods, both.
(Thanks to johngg for the tests in Re: to select unique characters).
In Section
Seekers of Perl Wisdom
|
|