Plus, the problem isn't with $val, it's with $key. Try printing out $key in each iteration with single-quotes around it.
In reply to Re^6: more fun w/ HASh ref's
by dragonchild
in thread more fun w/ HASh ref's
by hesco
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |