Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re^5: bug or curly bracket hell?

by kcott (Archbishop)
on Jan 24, 2023 at 23:46 UTC ( [id://11149854]=note: print w/replies, xml ) Need Help??


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.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others rifling through the Monastery: (2)
As of 2024-06-16 10:10 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?
    erzuuli‥ 🛈The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.