Your skill will accomplish what the force of many cannot |
|
PerlMonks |
comment on |
( [id://3333]=superdoc: print w/replies, xml ) | Need Help?? |
An old standby. Insert lines like the following:
and then do a binary search to find where it dies. When you find it, you will likely have to figure out why it is dying. It may well be due to a bug in Perl 5.10. Do not discount the value of trying to come up with the shortest program you can that crashes. Even if that program is meaningless to you, you can submit it as a bug report and someone else can try to fix it. Even more usefully though, you are likely to learn enough about the problem to figure out how to work around the bug. Good luck! (And hopefully you do not need to work with much of this previous programmer's code. 6mb and uses no modules???) In reply to Re: perl crashes parsing huge script - how to find a line that crashes it?
by tilly
|
|