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

Re: ChessBoard Program

by Corion (Pope)
on Feb 10, 2020 at 22:08 UTC ( #11112747=note: print w/replies, xml ) Need Help??

in reply to ChessBoard Program

There are a lot of warnings, and there is one first syntax error at:

Scalar found where operator expected at ./ line 30, +near "]$j"

Searching for that string points out this line:

print $chessboard[$i]$j];

The next syntax error is

syntax error at ./ line 19, near "$_}"

Searching for that string points to this line:

$chessboard[0][$_] = "W" . $back[$_}; # White Back Row

The line numbers don't match up with your code. Are you sure that you show us the code that produces these error messages?!

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (3)
As of 2020-06-07 10:10 GMT
Find Nodes?
    Voting Booth?
    Do you really want to know if there is extraterrestrial life?

    Results (42 votes). Check out past polls.