The result is "thingy one is" because you have included curved brackets around the key value!. So if I change my $key = '{One}'; to my $key = 'One';, the result isbecomes "thingy one is 1->One". So clearly your eval is not doing what you think it is doing.
CountZero
"If you have four groups working on a compiler, you'll get a 4-pass compiler." - Conway's Law
In reply to Re: "eval" and "my" variable weirdness
by CountZero
in thread "eval" and "my" variable weirdness
by splinky
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |