We don't bite newbies here... much | |
PerlMonks |
Re: Re: Re: Re: Sorting characters within a stringby jlongino (Parson) |
on Aug 24, 2001 at 05:55 UTC ( [id://107590]=note: print w/replies, xml ) | Need Help?? |
Guillaume,
I think one of the assumptions (although not clearly stated) is that no string has repeated characters in it. Very inventive code though! Update: Maybe a regexp to eliminate any string with duplicate letters. As though things weren't bad enough :) If the code and the comments disagree, then both are probably wrong. -- Norm Schryer
In Section
Seekers of Perl Wisdom
|
|