in reply to TIMTOWTDI/golf - counting backwards

Using hex seems to be an abuse of the rules, but what the heck: gotta start golfing sometime. At 30 characters:
#23456789_123456789_123456789_ $_=hex a;print$_--,"\n"while$_
Update: juerd pointed out that I can't count. Fixed. (I was claiming 34 characters.)
blakem's hint brings me down to 28 characters
#23456789_123456789_12345678 $_=hex a;print$_--,$/while$_
blyman
setenv EXINIT 'set noai ts=2'

Replies are listed 'Best First'.
Re: Re: TIMTOWTDI/golf - counting backwards
by Juerd (Abbot) on Jan 31, 2002 at 08:56 UTC
    #2346789_23456789_23456789_234
    Skipped school again, huh? :)

    2;0 juerd@ouranos:~$ perl -e'undef christmas' Segmentation fault 2;139 juerd@ouranos:~$

Re: Re: TIMTOWTDI/golf - counting backwards
by blakem (Monsignor) on Jan 31, 2002 at 09:13 UTC
    In golf, "\n" is spelled $/

    -Blake