Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re: Chess Board Single Loop

by BrowserUk (Pope)
on Oct 03, 2013 at 22:06 UTC ( #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
Node Status?
node history
Node Type: note [id://1056803]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (15)
As of 2014-12-18 10:11 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

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





    Results (48 votes), past polls