Can't call method "header" on an undefined value at /.../login.pl line 19.
# process the form
if($usr eq "demo" and $pwd eq "demo")
{
$session = new CGI::Session();
print $session->header(-location=>'index1.pl');
}
This is the sample i copied from web, what does this error mean pl ?
file is at http://www.perlguru.com/gforum.cgi?do=post_attachment;postatt_i