On Fri, 8 Jun 2001, Jeff Yoak <[EMAIL PROTECTED]> wrote,

> At 05:35 PM 6/8/01 -0400, Luinrandir Hernson wrote:
> >ok, where did i go wrong now???
>
> '=' is the assignment operator in Perl.  '==' is the numeric comparison
> operator and 'cmp' is the alpha which is what you want here.  Ugly gotcha
> since perl will hardly ever catch it for you.  And damn all languages that
> use '=' for comparison.  I end up with this error creeping into code after
> I've spent too much time on SQL.

cmp is for sorting.  The equivaleng `==' for string is `eq'.


s::a::n
-- 
http://www.trabas.com

Reply via email to