Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
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
Replies are listed 'Best First'.
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 lurking in the Monastery: (8)
As of 2015-07-30 10:10 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (271 votes), past polls