http://www.perlmonks.org?node_id=11149854


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

You have a bogus 'print "' at the start of your code. The closing quote for that string is 'open('conf', "' (many lines later). All of the apparent use statements and my declarations, in the intervening code, are just part of the string; they are not Perl statements that will be executed.

— Ken

Replies are listed 'Best First'.
Re^6: bug or curly bracket hell?
by GrandFather (Saint) on Jan 25, 2023 at 02:10 UTC

    Note though the last line:

    close(FH);\n";

    :-D

    Optimising for fewest key strokes only makes sense transmitting to Pluto or beyond

      The first screenful was depressing enough. I didn't even bother to look any further. :-)

      — Ken

        Yeah, I apologize I'm a noob and still getting better at optimizing and minimizing my code, wasn't really sure how else to cut it down.