Why use eval
...because the OP used lexical variables. Symbolic references ($$string) only work with package variables.
In reply to Re^3: How can I turn a string into a variable name?
by almut
in thread How can I turn a string into a variable name?
by mnooning
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |