in reply to use of unitialized value
You could use the 'ptkdb' debugger and set a breakpoint at your 'if' statement and set its condition do "!defined $quanity". The debugger will stop the program when that statement would generate that warning. That will allow you to see the 'offending member' in your hash. You can use the default perl debugger to do the same thing with the command: 'b <lineno> !defined $quantity'.
Check the code that populates that hash.
|
|---|