Perl Monk, Perl Meditation | |
PerlMonks |
Re: ChessBoard Programby GrandFather (Saint) |
on Feb 10, 2020 at 22:45 UTC ( [id://11112748]=note: print w/replies, xml ) | Need Help?? |
Always start with the earliest error in the code. In this case it is on line 19: 'syntax error at ./BP_Chap11_Exer1.pl line 19, near "$_}"'. Once you fix that issue there are three or four more of a similar nature. Fix those and the elsif issue and you are left with one final issue due to a missing }. Your indentation is mostly pretty good so it should be easy enough to see where the missing } should go.
Optimising for fewest key strokes only makes sense transmitting to Pluto or beyond
In Section
Seekers of Perl Wisdom
|
|