in reply to Re^2: Use of uninitialized value in string comparison (cmp)
in thread Use of uninitialized value in string comparison (cmp)

bharathinc:

Yes, that's why pajout mentioned the tip on minimizing your code example. You'll find that while minimizing your code to the minimum case that shows the fault, you'll usually find the line(s) of code or data that exhibit the problem. Once you know those few lines, the error frequently sticks out like a sore thumb. So you get the answer quicker, and learn faster to boot.

...roboticus

  • Comment on Re^3: Use of uninitialized value in string comparison (cmp)