in reply to Re^2: How can I turn a string into a variable name?
in thread How can I turn a string into a variable name?

Why use eval

...because the OP used lexical variables.  Symbolic references ($$string) only work with package variables.