in reply to Re: Debug basic calculator syntax
in thread Debug basic calculator syntax

++ for advising to use strict and warnings; -- for saying to use '==' for string comparisons (it should be 'eq').

CountZero

"If you have four groups working on a compiler, you'll get a 4-pass compiler." - Conway's Law

Replies are listed 'Best First'.
Re^3: Debug basic calculator syntax
by TheStudent (Scribe) on Jun 23, 2005 at 21:39 UTC
    I jumped to reply without thinking. The warnings from perl said:
    Found = in conditional, should be == at calc.pl Found = in conditional, should be == at calc.pl

    TheStudent