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.

Cheers,
Jeff


>##############
>##set $previous site var.
>##############
>if ($ENV{'HTTP_REFERER'} = "")
>        {$previous = "an unknown site"}
>        else
>        {$previous = "$ENV{'HTTP_REFERER'}};


Reply via email to