Apache::OK error

2002-04-25 Thread Lihn, Steve
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 not allowed while strict subs in use at

Re: Apache::OK error

2002-04-25 Thread Perrin Harkins
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 constants!

Re: Apache::OK error

2002-04-25 Thread Jon Robison
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' [Thu Apr

Re: Apache::OK error

2002-04-25 Thread Perrin Harkins
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 wrote: Hi,

Re: Apache::OK error

2002-04-25 Thread Per Einar Ellefsen
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 not

Re: Apache::OK error

2002-04-25 Thread Per Einar Ellefsen
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

Re: Apache::OK error

2002-04-25 Thread Per Einar Ellefsen
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 Apr 25

Re: Apache::OK error

2002-04-25 Thread Stas Bekman
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] failed to resolve

Re: Apache::OK error

2002-04-25 Thread Per Einar Ellefsen
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: [Thu Apr 25 15:32:15

Re: Apache::OK error

2002-04-25 Thread Stas Bekman
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