in reply to Re^2: Uninitialized Value
in thread Uninitialized Value

I see that you have later figured out what the problem was. If you used your DATA as input, you don't get that error. That would have been a hint to compare it to your actual input file.

Dum Spiro Spero