in reply to Debug basic calculator syntax
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
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Debug basic calculator syntax
by CountZero (Bishop) on Jun 23, 2005 at 21:16 UTC | |
by TheStudent (Scribe) on Jun 23, 2005 at 21:39 UTC | |
|
Re^2: Debug basic calculator syntax
by !1 (Hermit) on Jun 23, 2005 at 21:25 UTC |