Beefy Boxes and Bandwidth Generously Provided by pair Networks
Come for the quick hacks, stay for the epiphanies.
 
PerlMonks  

Re: Chess Board Single Loop

by MidLifeXis (Monsignor)
on Oct 04, 2013 at 12:13 UTC ( [id://1056872]=note: print w/replies, xml ) Need Help??


in reply to Chess Board Single Loop

Nobody used octal yet?

for my $x (0..7) { for my $y (0..7) { printf("%3d", 1+eval "0$x$y"); } print "\n"; }

--MidLifeXis

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others about the Monastery: (2)
As of 2024-04-25 20:25 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found