Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re^2: How can I debug a weird "Undefined subroutine..." error that should be defined.

by dly (Beadle)
on Mar 01, 2015 at 09:56 UTC ( [id://1118250]=note: print w/replies, xml ) Need Help??


in reply to Re: How can I debug a weird "Undefined subroutine..." error that should be defined.
in thread How can I debug a weird "Undefined subroutine..." error that should be defined.

You're totally right! That bug's fixed. I even copied and pasted :OVERRIDE_BUILD a couple of times to avoid this problem, which I've even run into before, but never the name of the subroutine. Now I wish I had.

This isn't even the first time I've done this. I once submitted a bug report where perl was messing with one of my variables, but the problem turned out to be caused by a bug in my test case. That one lives on in infamy in perl's bug queue somewhere with all the other bugs that aren't actually bugs.

It's so easy to get frustrated, and fixating on something that's not actually the problem. Oops...I'll keep this in mind the next time I think perl is wrong and I am right.

That being said Sometimes, it really IS a bug in Perl; however, the bug in question is on a totally different level than my typo of a bug.

Thanks for reading my code more carefully than I was.

  • Comment on Re^2: How can I debug a weird "Undefined subroutine..." error that should be defined.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others chanting in the Monastery: (5)
As of 2024-04-24 19:58 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found