Bill Stephenson wrote:
I've tweaked the code as much as I know how in order to make it
work as expected but have not been successful. Is this a bug in
CGI.pm or am I missing something simple here?

Opps! I hadn't tried everything and I was missing something simple....

if ($Q->cgi_error()) {
    print $Q->header;
    $message = $Q->cgi_error();
    &error_trap($message);
   }

Yeah, I noticed too that the OO interface works. Nevertheless I'm inclined to believe that it is a bug in CGI.pm and/or its docs, but it would be good if somebody with more CGI.pm experience could comment on it.

--
Gunnar Hjalmarsson
Email: http://www.gunnar.cc/cgi-bin/contact.pl

--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>




Reply via email to