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 BrowserUk (Patriarch)
on Oct 03, 2013 at 22:06 UTC ( [id://1056803]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    print for map{ join '|', map sprintf( "%02d", $_ ), $_*8+1 .. $_*8+8 }
    + 0 .. 7;;
    01|02|03|04|05|06|07|08
    ...
    41|42|43|44|45|46|47|48
    49|50|51|52|53|54|55|56
    57|58|59|60|61|62|63|64
    
  2. or download this
    print for  unpack '(A24)*', join'|','01' .. '64', '';;
    01|02|03|04|05|06|07|08|
    ...
    41|42|43|44|45|46|47|48|
    49|50|51|52|53|54|55|56|
    57|58|59|60|61|62|63|64|
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others wandering the Monastery: (4)
As of 2024-04-19 17:27 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found