Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Re: ChessBoard Program

by LanX (Saint)
on Feb 10, 2020 at 23:27 UTC ( [id://11112750]=note: print w/replies, xml ) Need Help??


in reply to ChessBoard Program

Hello catfish1116

The history of your posts always contain a lot of trivial syntax errors.

Errors of a kind one would easily spot if the code was developed step by step.

Could it be that you are manually copying the code as a whole from a printed text and ask us to spot the typos?

Cheers Rolf
(addicted to the Perl Programming Language :)
Wikisyntax for the Monastery FootballPerl is like chess, only without the dice

Replies are listed 'Best First'.
Re^2: ChessBoard Program
by catfish1116 (Beadle) on Feb 12, 2020 at 19:51 UTC

    It is true that I am manually copying the code from a printed text. Early on, it was my own fault for not typing correctly, (those were earlier posts). My more current posts are a result of me typing exactly how the script appears in the books that I am learning from and the code not working, or if the exercises are asking to do the just one function in the program and I try to make it more robust by adding more functionality. I appreciate being part of the Perlmonk community as I find everyone on this sight extremely helpful and has helped me immensely. Thanks, Catfish

      Syntax errors (almost) always force an abort of compilation.

      Always test your code with

      perl -c your_file.pl

      after typing a new line and you'll catch most typos.

      Or try the Komodo IDE it'll run the compilation automatically in the background and highlight broken code.

      Cheers Rolf
      (addicted to the Perl Programming Language :)
      Wikisyntax for the Monastery FootballPerl is like chess, only without the dice

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others sharing their wisdom with the Monastery: (3)
As of 2024-04-20 13:42 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found