# scripta use CGI::Session; $session = new CGI::Session("driver:File", $cgi, {Directory=>'/tmp'}) or die 'yo'; sub check { # Return a true value, e-mail verification passed. # $captcha_generated_key = $session->param("CAPTCHA"); // ERROR LINE $user_submited_key = $Config['key']; if($user_submited_key != $Config) { print "Sorry! Wrong captcha!
"; return 0; # We cant let him registered. } return 1; } /* ERRO: Can't call method "param" on an undefined value at ... */