maxcross7 has asked for the wisdom of the Perl Monks concerning the following question:


This script has worked forever until i moved to a new host. Now I am getting this error: "Use of uninitialized value in string eq"

It is complaining about this line:

if ($sitename eq $ENV{'id'} && ($visitor eq $ENV{'REMOTE_ADDR'}) || ($own eq $ENV{'REMOTE_ADDR'}))

and this one:

if ($sitename eq $ENV{'id'})

Let me know if you want me to post the entire script!?!
Any help is appreciated,