You are viewing a plain text version of this content. The canonical link for it is here.
Posted to modperl@perl.apache.org by Ulrich Windl <Ul...@rz.uni-regensburg.de> on 2001/02/28 11:08:28 UTC

mod_perl-1.24 (perl 5.6): Undefined subroutine CGI::thead

Hello,

this is an old problem that is still current: Occasionally my CGI 
script fails because of
Undefined subroutine CGI::thead
If I reload the page it works again, but maybe it's because a different 
Apache process is used.

Environment:
Apache/1.3.14 (Unix) (SuSE/Linux)
mod_ssl/2.7.1
OpenSSL/0.9.6
mod_perl/1.24
Linux 2.2.18 (SuSE)
Perl-5.6
CGI.pm is /usr/lib/perl5/5.6.0/CGI.pm (1.19/2.56)

I use this:
use CGI qw/thead tbody/;        # auto-generate unknown elements from 
HTML 4.0

and
print $q->thead($q->Tr($q->th(...)));

and
$row .= $q->thead($q->Tr($q->th([...]))) . "\n";