[EMAIL PROTECTED] (G.W. Haywood) wrote:

>Hi there,
>
>On Wed, 9 Aug 2000, George Sanderson wrote:
>
>> PerlModule Apache::Hello
>> <Location /hello/world>
>> SetHandler perl-script 
>> PerlHandler Apache::Hello->handler
>> </Location>
>> #
>> Results in the following error_log output: 
>> [Sun Aug 6 21:48:02 2000] [error] Undefined subroutine
>> &Apache::Hello->handler::handler
>> called at PerlHandler subroutine `Apache::Hello->handler' line 1.
>
>Page 70, Eagle Book.
>
>You mean
>
>PerlHandler Apache::Hello::handler

To clarify - some handlers can be called using object-oriented
techniques, and some can't.  The switch for this behavior is that the
handler is prototyped with ($$).  Apache::Hello isn't, so you can't call
its handler as a method, only as a function.

Eagle book, p. 190.



Reply via email to