Problems? Is your data what you think it is? | |
PerlMonks |
comment on |
( [id://3333]=superdoc: print w/replies, xml ) | Need Help?? |
First, I'm going to echo the "break it up" answer. If you're supporting this thing, you need to know what it does. That probably involves breaking it into pieces that work together. Me, I'm a fan of modules.
A more immediate solution is the __END__ token. Stick it in the middle and see if everything works. If it does, then move it to 75%, otherwise move it to 25%. You'll very quickly determine about where the problem is. Another thing - write tests. Lots and lots of tests. My criteria for good software:
In reply to Re: perl crashes parsing huge script - how to find a line that crashes it?
by dragonchild
|
|