Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re^5: bug or curly bracket hell?

by kcott (Archbishop)
on Jan 24, 2023 at 23:46 UTC ( #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? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (4)
As of 2023-09-22 11:49 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?