in reply to Debugging "Use of Unitialized Value" message

It looks like you set $i = 0 earlier, but use $j in your loops. This may be the culprit because you noted that the warnings appear around your cmd lines.

If you used -w, you would have seen that $i was used only once; possible typo. Was it?

I definitely agree with the previous 2 posts: -w and strict should always be used and formatting should be consistent. Jasmine

  • Comment on Re: Debugging "Use of Unitialized Value" message