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:


In reply to Re: Perl script is getting stuck for no reason by AppleFritter
in thread Perl script is getting stuck for no reason by Ankur_kuls

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.