in reply to using eval

Try this indeed my $question = "4+3"; eval "\$answer = $question";