Per Einar Ellefsen wrote:
> Yes, Stas, but I think this example was taken from the docs:
>
>http://perl.apache.org/preview/modperl-docs/dst_html/docs/2.0/user/overview/overview.html#Apache__Echo
>
>
> These examples need to be synced with the CVS versions then.
done, thanks
At 04:11 26.04.2002, Stas Bekman wrote:
>Per Einar Ellefsen wrote:
>>At 22:04 25.04.2002, Per Einar Ellefsen wrote:
>>
>>>At 21:39 25.04.2002, Lihn, Steve wrote:
>>>
Hi,
I am testing the Apache::Echo connection handler for Apache2 and
mod_perl 2.
But encounter the following error:
Per Einar Ellefsen wrote:
> At 22:04 25.04.2002, Per Einar Ellefsen wrote:
>
>> At 21:39 25.04.2002, Lihn, Steve wrote:
>>
>>> Hi,
>>> I am testing the Apache::Echo connection handler for Apache2 and
>>> mod_perl 2.
>>> But encounter the following error:
>>>
>>> [Thu Apr 25 15:32:15 2002] [error
At 22:04 25.04.2002, Per Einar Ellefsen wrote:
>At 21:39 25.04.2002, Lihn, Steve wrote:
>>Hi,
>>I am testing the Apache::Echo connection handler for Apache2 and mod_perl 2.
>>But encounter the following error:
>>
>>[Thu Apr 25 15:32:15 2002] [error] failed to resolve handler `Apache::Echo'
>>[Thu
At 22:00 25.04.2002, Perrin Harkins wrote:
>Oops, that's right, it's in the Apache::Constants package. Changing your
>code to say Apache::Constants::OK should do it. No need to import all of
>that stuff unless you want to.
This is mod_perl 2, so Apache::Constants has been replaced by Apache::
At 21:39 25.04.2002, Lihn, Steve wrote:
>Hi,
>I am testing the Apache::Echo connection handler for Apache2 and mod_perl 2.
>But encounter the following error:
>
>[Thu Apr 25 15:32:15 2002] [error] failed to resolve handler `Apache::Echo'
>[Thu Apr 25 15:32:15 2002] [error] Bareword "Apache::OK" no
Oops, that's right, it's in the Apache::Constants package. Changing
your code to say Apache::Constants::OK should do it. No need to import
all of that stuff unless you want to.
Jon Robison wrote:
> maybe a "use Apache::Constants qw/ :common /;"
>
> --Jon Robison
>
> "Lihn, Steve" wrot
maybe a "use Apache::Constants qw/ :common /;"
--Jon Robison
"Lihn, Steve" wrote:
>
> Hi,
> I am testing the Apache::Echo connection handler for Apache2 and mod_perl 2.
> But encounter the following error:
>
> [Thu Apr 25 15:32:15 2002] [error] failed to resolve handler `Apache::Echo'
>
Lihn, Steve wrote:
> [Thu Apr 25 15:32:15 2002] [error] Bareword "Apache::OK" not allowed while
> "strict subs" in use at C:\Apache2/blib/lib/Apache2/Apache/Echo.pm line 25.
> Compilation failed in require at (eval 2) line 3.
>
> What do I miss?
Try Apache::OK() instead. Damn these faux constan