go ahead... be a heretic | |
PerlMonks |
Re: I usually debug via...by matija (Priest) |
on Feb 15, 2005 at 08:47 UTC ( [id://431062]=note: print w/replies, xml ) | Need Help?? |
I often use print. But I also often (perhaps even more often, step through my code with perl -d even when I'm not chasing a specific bug - it's just that if the code is in anyway tricky, I like stepping through it, examining variables at my leisure, and see if the code does what I thought it would. I caught some bad bugs that way, and I caught them before they could bite me.
In Section
Past Polls
|
|