in reply to Is there a Variable to literal expression shortcut?

You are going to be delighted at this:

my $expression = "(2+2)"; my $result = eval $expression;

You can have a lot of fun with eval.

____________________
Jeremy
I didn't believe in evil until I dated it.