in reply to Complex sorting

Thanks for this tight little tutorial. I'm still trying to wrap my inexperienced head around parts of it. However, in working the first example, I discovered a typo:

You wrote

join(' '),@revletters;
I think it should be
join(' ',@revletters);
(I merely changed the location of the closing parenthesis)

Cheers!