Read the error message again: You are passing the string "parent mass" to int, that's the source of the error message.
Hash keys are always stringified, but like any string Perl will automatically convert it back to a number if used in a numeric context (if it can).
In reply to Re: numeric hash keys
by Anonymous Monk
in thread numeric hash keys
by AWallBuilder
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |