It's a hack but:
print eval("\$$result");works as expected.
Rule One: "Do not act incautiously when confronting a little bald wrinkly smiling man."
In reply to Re^2: can't use string as a SCALAR ref while strict refs
by psini
in thread can't use string as a SCALAR ref while strict refs
by justinNEE
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |