I'm looking to see if anyone can verify whether the following behavior is a
Feature or a Bug. From within a PerlRequestHandler:
my $content = $r->content();
my $cookie = CGI::Cookie->parse( $r->headers_in->get('Cookie') );
works fine, but the
u got it,
> > create and parse Cookies. However, I'm getting an error that I don't totally
> > understand. ( This is mod_perl related... just hold on. )
> >
> > If i call
> > CGI::Cookie->parse($r->headers_in->get('Cookie'));
> >
)
>
> If i call
> CGI::Cookie->parse($r->headers_in->get('Cookie'));
> I will get this error:
> Can't call method "register_cleanup" on an undefined value at
>/usr/lib/perl5/5.00503/CGI.pm line 262.
>
> Now that is
g CGI::Cookie to, you got it,
> create and parse Cookies. However, I'm getting an error that I don't totally
> understand. ( This is mod_perl related... just hold on. )
>
> If i call
> CGI::Cookie->parse($r->headers_in->get('Cookie'));
>
Hi!
I'm trying to write an AccessHandler. I'm using CGI::Cookie to, you got it,
create and parse Cookies. However, I'm getting an error that I don't totally
understand. ( This is mod_perl related... just hold on. )
If i call
CGI::Cookie->parse($r->heade