It would have shown you immediately you have a problem with:use strict; use warnings;
if ($add = "y") and if ($mult = "y")
Rather than using '=' it should be '=='.
TheStudent
In reply to Re: Debug basic calculator syntax
by TheStudent
in thread Debug basic calculator syntax
by ROB6789
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |