Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re: TIMTOWTDI/golf - counting backwards

by chipmunk (Parson)
on Jan 28, 2002 at 20:48 UTC ( #142108=note: print w/ replies, xml ) Need Help??


in reply to TIMTOWTDI/golf - counting backwards

35 characters for the whole command line: perl -le'$a=ord$/;print$a--while$a'
Note: will not work on a Mac. :)


Comment on Re: TIMTOWTDI/golf - counting backwards
Download Code
Re: Re: TIMTOWTDI/golf - counting backwards
by mrbbking (Hermit) on Jan 28, 2002 at 22:03 UTC
    Note: will not work on a Mac. :)
    ...works fine on my Mac, chipmunk.
    What's wrong with yours? :-)
    [localhost:~/Music] bbking% uname -a Darwin localhost 1.4 Darwin Kernel Version 1.4: Sun Sep 9 15:39:59 PD +T 2001; root:xnu/xnu-201.obj~1/RELEASE_PPC Power Macintosh powerpc [localhost:~/Music] bbking% perl -le'$a=ord$/;print$a--while$a' 10 9 8 7 6 5 4 3 2 1

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://142108]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (5)
As of 2014-12-29 04:27 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (184 votes), past polls