$eval(code, N) will evaluate codeN times. In your case you need it to evaluate the code twice: once in order to get the variable's name, and a second time to get the resulting variable's value.
Spelling mistakes, grammatical errors, and stupid comments are intentional.