I have a Redhat 7.3 system running Apache 1.3.23, perl 5.6.1, and the latest
updates.  I am trying to do something very simple, set a cookie and read it.
I ran perl -MCPAN -e shell and installed libnet, Bundle::Apache, etc.

I put the following in my httpd.conf

PerlModule Apache
PerlModule Apache::Cookie
PerlModule CGI
PerlModule CGI::Cookie

and my code is

use Apache::Constants qw(:common);
use Apache::Cookie ();
use Apache();

my $r;
Apache->request([$r]);


I get the error that the request object is not found and have I loaded the
Apache module.  As far as I can tell I am doing everything right.  Can
someone point me in the right direction?

Thank you,
Joe Palladino
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.422 / Virus Database: 237 - Release Date: 11/20/2002

Reply via email to