Are you certain that your hash keys are what you think they are? If you're doing floating-point math, you may end up with keys that have more decimal places. Even an integer like 5.00 might be stringifying as 5.00000001 if there's FP math involved.
Try using Data::Dumper on your hash to see if that's the case.
In reply to Re: Numeric as hash key returns undef...
by friedo
in thread Numeric as hash key returns undef...
by journey
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |