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 ./BP_Chap11_Exer1.pl line 30, +near "]$j"
Searching for that string points out this line:
print $chessboard[$i]$j];
The next syntax error is
syntax error at ./BP_Chap11_Exer1.pl 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?!
|
---|
In Section
Seekers of Perl Wisdom