http://qs321.pair.com?node_id=300705


in reply to Re: use of unitialized value
in thread use of unitialized value

Hmmmm...
The funny thing about this error message is that it happens whether there is a value in

$inventory{$itemcode}[2]
or not. The loop will generate the error in each iteration.
The value is from a web page form input, so I thought the problem might be a string/number conversion, but the error message doesn't indicate that.