perl-modperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael Ludwig <...@as-guides.com>
Subject Re: Initializing Sleepycat::DbXml (Berkeley, Oracle) objects in startup.pl
Date Fri, 16 Jan 2009 09:46:24 GMT
Mark Hedges schrieb:
>
> On Thu, 15 Jan 2009, Michael Ludwig wrote:
>
>> PerlRequire /home/milu/www/eumel/startup.pl
>> PerlChildInitHandler Eumel::Gurke::bla;
>> PerlChildExitHandler Eumel::Gurke2::bla;
>
> No trailing semicolons?

That was a copy and paste error when composing the mail. But this is an
important point, as there won't be any warning about this - it will
silently fail, regardless of whether or not the module has been loaded.

> Probably if you first do PerlLoadModule Foo::Bar it will
> fail and inform you

It definitely will fail and output an error message. So it's crucial
to PerlLoadModule the module first, else even a correctly specified
PerlChildExitHandler won't be installed.

Thanks a lot, Mark. More on this later.

Michael Ludwig

Mime
View raw message