http://qs321.pair.com?node_id=356433


in reply to using eval

Without getting into why this is bad, I'll just fix your sample so it works

$question="4+3"; $answer = eval $question; print "$question=$answer";