Problem setting cookies w/ PERL
Posted on 2004-04-29
Using a UNIX web hosting service that claims to have CGI.pm installed, I cannot set a cookie using:
$cookie = $q->cookie(-name=>"login_tracker",
print "Set-Cookie: $cookie\n";
The error I get fed back says that it cannot "call method 'cookie' on line [1 in my example above]
What is going on?
I have use CGI; defined at the beginning of the script. The code above is set within an If clause.