Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re^2: Decimal Gray Code in 31 chars

by mtve (Chaplain)
on Jan 19, 2010 at 10:46 UTC ( #818157=note: print w/ replies, xml ) Need Help??


in reply to Re: Decimal Gray Code in 31 chars
in thread Decimal Gray Code in 31 chars

two more:

print$_^$_/2for 0..pop


Comment on Re^2: Decimal Gray Code in 31 chars
Download Code
Re^3: Decimal Gray Code in 31 chars
by ikegami (Pope) on Jan 19, 2010 at 13:33 UTC
    I swear I tried removing that space and got an error. But yeah, it works.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (6)
As of 2014-12-28 07:48 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

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





    Results (179 votes), past polls