Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re: why is this an uninitialized value?

by sundialsvc4 (Abbot)
on Jun 30, 2018 at 14:52 UTC ( #1217655=note: print w/replies, xml ) Need Help??


in reply to Re^2: why is this an uninitialized value?
in thread why is this an uninitialized value?

Just let my comments rest, please, even if they are unrelated to one another as here.   Say whatever you please, then click the Back button on your browser instead of Send.   I am tired of always being on the defensive – ’nuff said, knock it off.

  • If the response is in JSON, decode it as a black box.
  • (Separate and unrelated...)   Anytime you do a regex match that is always supposed to work, check that it didn’t.   Anytime you have a chain of if..else if structures that is always supposed to cover all cases, add just one more check that it did.

It is fortuitous that a failed-to-match regex did cause an “uninitialized value” because the OP realized that there must be a problem.   Right now at $WORK I am chasing what I know to be a similar situation – and it’s in PHP (which is notorious for assuming that everything you write must somehow be right) – and it could be anywhere in thousands of lines of unfamiliar code.   The fix will probably be a one-liner ... when I find it.   In other places where more-suspicious coding has been done (the MySQL stack is now full of such land-mines), bugs that no one ever knew existed(!) are identified ... and located with a trace-back.   Formerly, they merely surfaced (if they did at all) as “odd” (unexplained ...) website behaviors or incorrectly-calculated orders.

2018-07-03 Athanasius reparented

  • Comment on Re: why is this an uninitialized value?

Replies are listed 'Best First'.
Re^2: why is this an uninitialized value?
by kcott (Bishop) on Jun 30, 2018 at 22:12 UTC

    So, jdorwin joins the Monastery and posts for the first time.

    On the next visit there's a notification along the lines of "you have a response from sundialsvc4 regarding your question: why is this an uninitialized value?".

    However, when following the link to your response, this does not appear to be a response to the posted question at all; instead, it looks like some sort of attack followed by a demand to "knock it off".

    You should immediately apologise to jdorwin and consider your node for reparenting.

    — Ken

Re^2: why is this an uninitialized value?
by Anonymous Monk on Jun 30, 2018 at 15:45 UTC
    Here we go again
    Just let my comments rest, please, even if they are unrelated to one another as here. Say whatever you please, then click the Back button on your browser instead of Send. I am tired of always being on the defensive – ’nuff said, knock it off.
    You should take your own advice. Just stop posting. You add nothing. You need to talk to a therapist. All your lies, tales of "work" and the problems you fix. All lies. You don't know anything.
Re^2: why is this an uninitialized value?
by Anonymous Monk on Jul 01, 2018 at 19:59 UTC
    In some languages a sundialsvc is a type of latrine floater. Its stinks. Flush it.™

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (5)
As of 2019-12-14 18:03 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?