in reply to Re: ChessBoard Program
in thread ChessBoard Program

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

Replies are listed 'Best First'.
Re^3: ChessBoard Program
by LanX (Saint) on Feb 12, 2020 at 22:06 UTC
    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