|
|
| Perl: the Markov chain saw | |
| PerlMonks |
Re^4: String sorting in Perlby Limbic~Region (Chancellor) |
| on Jun 04, 2014 at 18:06 UTC ( [id://1088708]=note: print w/replies, xml ) | Need Help?? |
|
Laurent_R,
The code should get the counts, order them with the highest counts first, then move to the next value. I didn't see anything that implied shorter strings should come first but I agree that "move to the next value" is fairly ambiguous. Cheers - L~R
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||||||||||