I don't really understand your question very well, but will eval do what you want? For example:
my $var = "(2+2)"; print eval $var;
In reply to Re: Is there a Variable to literal expression shortcut?
by eyepopslikeamosquito
in thread Is there a Variable to literal expression shortcut?
by true
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |