in reply to Re: Adding hash values together
in thread Adding hash values together

I dont really understand where you are coming from in your example: do you mean that the string literal can cause some over writing in the hash key or something completely different ???

MonkPaul

Replies are listed 'Best First'.
Re^2: Adding hash values together
by ikegami (Patriarch) on Jun 30, 2005 at 18:19 UTC

    I meant that 20, 024, 0x14, 2e1 and 2E1 will all stringify to '20', and therefore are all equal when used as keys.

    However, '20', '024', '0x14', '2e1' and '2E1' are already strings, so they are all considered unequal if used as keys.