Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re: Suspending Disbelief While Debugging

by dingus (Friar)
on Dec 09, 2002 at 18:38 UTC ( [id://218615]=note: print w/replies, xml ) Need Help??


in reply to Suspending Disbelief While Debugging

2 rules for troubleshooting
  • 90% of problems are caused at the physical layer
  • The first question to ask your user is "What (apart from nothing) has changed since it worked?"
Then you get the other bugs caused by stupidity - such as the pure genius one I wrote on Thursday and found (late) on Friday where I broke something out into a subroutine and reused $_ without a local. Do not do this. Did you know that doing push @{$$_{$var}} when $_ isn't a reference anymore can cause your perl program to crash abruptly without even reporting anything on STDERR?

Dingus


Enter any 47-digit prime number to continue.
  • Comment on Re: Suspending Disbelief While Debugging

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others romping around the Monastery: (4)
As of 2024-04-16 06:38 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found