Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re: When my script doesn't work, I ...

by blue_cowdawg (Monsignor)
on Oct 17, 2012 at 18:51 UTC ( #999596=note: print w/ replies, xml ) Need Help??


in reply to When my script doesn't work, I ...

There's a process for that:

  1. Cuss like a sailor asking the Universe why the <BLEEP!> this thing ain't working??????
  2. Smack monitor
  3. Go for more coffee
  4. Cuss some more
  5. rerun the code and hope the problem isn't still there.
  6. cuss more when the problem remanifests itself.
  7. try blaming the input data.
  8. go for more coffee
  9. re-run code
  10. Turn on script's built in debug logging
  11. stare at terminal
  12. Go to lunch
  13. read debug output
  14. Add more debug logging in strategic locations
  15. Get Diet Mountain Dew from vending machine
  16. rerun script
  17. found bug, fix.
  18. Go home
And the next day we start all over again!


Peter L. Berghold -- Unix Professional
Peter -at- Berghold -dot- Net; AOL IM redcowdawg Yahoo IM: blue_cowdawg


Comment on Re: When my script doesn't work, I ...
Re^2: When my script doesn't work, I ...
by cavac (Chaplain) on Oct 25, 2012 at 14:59 UTC

    Sound familiar.

    Although lately, working with big databases and data files, more often enough the story ends more like "realize that the script does exactly the right thing, but $OTHERSCRIPT supplied broken data. (Junk in/Junk out principle)".

    "I know what i'm doing! Look, what could possibly go wrong? All i have to pull this lever like so, and then press this button here like ArghhhhhaaAaAAAaaagraaaAAaa!!!"

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (6)
As of 2014-09-16 08:27 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite cookbook is:










    Results (158 votes), past polls