> Can someone take a close look what is wrong in Apache::Echo? Sorry about this! It is working. In the docs, the input is echoed twice. I only saw it once on my screen so I thought it is not working.
Later I put some debug code into the module. It indicates it receives the input. Maybe telnet on win32 behaves slightly different! Thanks for the help. Steve Lihn FIS Database Support, Merck & Co., Inc. Tel: (908) 423 - 4441 > -----Original Message----- > From: Lihn, Steve [mailto:[EMAIL PROTECTED]] > Sent: Thursday, April 25, 2002 5:10 PM > To: 'Per Einar Ellefsen'; Mod-perl list > Subject: RE: Apache::Echo does not work > > > This combination allows Apache2 to compile. > > use Apache::Const qw/:common/; > return OK; > > But when I telnet to that port. I do not get anything. > Error log does not show anything as LogLevel is set to debug. > Can someone take a close look what is wrong in Apache::Echo? > > > Steve Lihn > FIS Database Support, Merck & Co., Inc. > Tel: (908) 423 - 4441 > > > > > -----Original Message----- > > From: Per Einar Ellefsen [mailto:[EMAIL PROTECTED]] > > Sent: Thursday, April 25, 2002 4:32 PM > > To: Mod-perl list > > Subject: Re: Apache::OK 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 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 adding > > >use Apache::Const qw/:common/; > > >at the top > > > > > >and replace return Apache::OK with > > >return OK; > > > > > >Seems like the docs say Apache::OK everywhere, but I don't > > know if this is > > >supposed to work or not. > > > > Or actually, looking at the files in t/, it's probably better to do: > > use Apache::Const -compile => 'OK'; > > > > And leave the Apache::OK line as is. > > > > > > -- > > Per Einar Ellefsen > > [EMAIL PROTECTED] > > > > > > > > > -------------------------------------------------------------- > ---------------- > Notice: This e-mail message, together with any attachments, > contains information of Merck & Co., Inc. (Whitehouse > Station, New Jersey, USA) that may be confidential, > proprietary copyrighted and/or legally privileged, and is > intended solely for the use of the individual or entity named > in this message. If you are not the intended recipient, and > have received this message in error, please immediately > return this by e-mail and then delete it. > > ============================================================== > ================ > > > > -------------------------------------------------------------- > ---------------- > Notice: This e-mail message, together with any attachments, > contains information of Merck & Co., Inc. (Whitehouse > Station, New Jersey, USA) that may be confidential, > proprietary copyrighted and/or legally privileged, and is > intended solely for the use of the individual or entity named > in this message. If you are not the intended recipient, and > have received this message in error, please immediately > return this by e-mail and then delete it. > > ============================================================== > ================ > ------------------------------------------------------------------------------ Notice: This e-mail message, together with any attachments, contains information of Merck & Co., Inc. (Whitehouse Station, New Jersey, USA) that may be confidential, proprietary copyrighted and/or legally privileged, and is intended solely for the use of the individual or entity named on this message. If you are not the intended recipient, and have received this message in error, please immediately return this by e-mail and then delete it. ==============================================================================