in reply to Perl script is getting stuck for no reason

So, to sum it up, code that we don't know is operating on data we haven't seen and failing in an unspecified way. I'm sure I'm not the only monk shrugging helplessly now, thinking "how exactly do you think we're supposed to help you?"

Please give us something to work with. If your code's too large to post, whittle it down to the a simple test case that exhibits the problematic behavior. If your input files are too large to post (or confidential), provide some simpler ones that show the problem.

Attempting to do this may be instructive in itself: perhaps while simplifying, you'll realize what the problem is. Or perhaps you'll cross a threshold below which it'll work, which may provide clues as to what's going wrong (and why, and how to fix it). Even if you can successfully create a small, postable test case, perhaps it'll be simple enough that you'll see the issue yourself. If not, at least the monks will have something to work with.

Some general tips and links for asking questions, copied from my homenode:

  • Comment on Re: Perl script is getting stuck for no reason