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

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

by blue_cowdawg (Monsignor)
on Oct 17, 2012 at 18:51 UTC ( [id://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

Replies are listed 'Best First'.
Re^2: When my script doesn't work, I ...
by cavac (Parson) 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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://999596]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others rifling through the Monastery: (5)
As of 2024-03-28 14:00 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found