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";
In Section
Seekers of Perl Wisdom
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";