1)
Perl sections don't trap errors, the following code doesn't kill the startup process (the error is logged)
<Perl > use Foo::Bar::Car; </Perl>
2)
Not sure if this is a bug or not (probably not), but it'd be nice to be able to write one liners:
<Perl >1;</Perl>
However, the bug is in the fact that even though we get the error:
Syntax error on line 1621 of /home/stas/httpd/prefork/conf/httpd.conf: invalid args spec: >1;</Perl Syntax error on line 1621 of /home/stas/httpd/prefork/conf/httpd.conf: invalid args spec: >1;</Perl
server starts nevertheless, and it shouldn't.
I think we could add tests for these things using .htaccess files (which aren't quite supported by the perl sections, right?). We can't quite test them at the server startup.
__________________________________________________________________ Stas Bekman JAm_pH ------> Just Another mod_perl Hacker http://stason.org/ mod_perl Guide ---> http://perl.apache.org mailto:[EMAIL PROTECTED] http://use.perl.org http://apacheweek.com http://modperlbook.org http://apache.org http://ticketmaster.com
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
