$,=$";print sort{$b<=>$a}(ord(b)-ord a)..(ord(k)-ord a)
UPDATE: This occurred to me about five minutes after that one. 45 chars.
$,=$";print sort{$b<=>$a}map{ord()-ord a}b..k
=cut
--Brent Dax
There is no sig.
In reply to Re: TIMTOWTDI/golf - counting backwards
by BrentDax
in thread TIMTOWTDI/golf - counting backwards
by Juerd
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |