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 reply to Re: using eval
by eclark
in thread using eval
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |