in reply to Strange Hash Problem

Thanks for the reply. Here's what I get (notice there is no "Inside of the If" print after the second Data dump): #--- Before I check the if statement above I get : $VAR1 = '101010', '~', '0', 'quantity' ; $VAR2 = { '101010USED' => { '0' => 'ON' }, '101010' => { '0' => 'ON' } }; Inside of the IF : 101010 $VAR1 = '101010USED', '~', '0', 'quantity' ; $VAR2 = { '101010USED' => { '0' => 'ON' }, '101010' => { '0' => 'ON' } }; The code spans over different modules and such leading up to this small loop. As you can tell from the prints above shouldn't the if statement pass both times?

Replies are listed 'Best First'.
Re^2: Strange Hash Problem
by Anonymous Monk on Jul 29, 2009 at 18:45 UTC
    Hi. Why aren't you using <code></code> tags?