in reply to Tracking down an uninitialized value warning

Which line generates the error and how do you know which variable on that line is the culprit? I'm sure you know that the line number can be misleading due to if statements and such.

Can you reproduce the problem in a smaller sample program?

Is it consistent? (That is, it always faults for the same input data.)

Does it fault if you comment out the "irrelevant" stuff?


DWIM is Perl's answer to Gödel
  • Comment on Re: Tracking down an uninitialized value warning

Replies are listed 'Best First'.
Re^2: Tracking down an uninitialized value warning
by McDarren (Abbot) on Jun 14, 2007 at 08:31 UTC
    GrandFather,

    Have a look at my reply to quester. Basically the crux of my question boils down to the final paragraph in that reply.