Mailing List Archive

[Fwd: Re: ANNOUNCE: HTML::Embperl 1.3b4]
Gerald Richter wrote:
>
> Does it change anything when you add a
>
> PerlModule HTML::EmbperlObject
>
> to your httpd.conf (not .htaccess)

Yes ;-)

Shutting down http: [ OK ]
Starting httpd: Bareword "HTML::Embperl::optDisableVarCleanup" not
allowed while "strict subs" in use at
/usr/lib/perl5/site_perl/5.005/i386-linux/HTML/EmbperlObject.pm line
123.
Bareword "HTML::Embperl::optSendHttpHeader" not allowed while "strict
subs" in use at
/usr/lib/perl5/site_perl/5.005/i386-linux/HTML/EmbperlObject.pm line
124.
Bareword "HTML::Embperl::dbgObjectSearch" not allowed while "strict
subs" in use at
/usr/lib/perl5/site_perl/5.005/i386-linux/HTML/EmbperlObject.pm line
163.
Syntax error on line 145 of /etc/httpd/conf/httpd.conf:
BEGIN not safe after errors--compilation aborted at
/usr/lib/perl5/site_perl/5.005/i386-linux/HTML/EmbperlObject.pm line
250.

[FAILED]

The difference is error happens right after restarting the server.

- Robert

P.S. I should add this is apache-1.3.9/modperl-1.21 from RPM (the most
recent RPM I know of), Embperl complains about modperl too old but it
works (that's why I don't preload things - just to make sure).