in reply to Re: bug or curly bracket hell?
in thread bug or curly bracket hell?

Seconding this. Especially the perltidy hint. $rowCount1++ seems to be offdented.
Note perltidy is a command line tool. If it isn't installed yet, you can install it from the command line with cpan Perl::Tidy

Also helpful (old but gold) Basic debugging checklist

Replies are listed 'Best First'.
Re^3: bug or curly bracket hell?
by Bod (Parson) on Jan 14, 2023 at 01:04 UTC
    Note perltidy is a command line tool

    Also available as an online tool

      Though many people would not be able to justify submitting their source code to an unknown third party.

      Update: fixed typo