in reply to Re: Re: Re: eq vs. ==
in thread eq vs. ==
is a compile time error. Not really a problem. In Perl using assignment instead of comparison in a condition leads to a compile time warning. However, in C, the use of assignment instead of comparison is just find, and only some compilers will warn, if you turn on the appriate warnings. But when compiling C, it's much more common (and troublesome) to turn warnings on than in Perl.if a := b then begin ... end
Conclusing, when coding in Perl, and certainly in C, is more likely to make this mistake than when coding in Pascal.
Abigail
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: eq vs. ==
by Jenda (Abbot) on Jul 21, 2003 at 11:05 UTC |