[BUG?] CGI::Cookie->parse() deletes $r->content()

2001-04-04 Thread Michael Lazzaro
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

Re: CGI::Cookie parse

2000-02-04 Thread Aaron Ross
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')); > >

Re: CGI::Cookie parse

2000-02-04 Thread Stas Bekman
) > > 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

Re: CGI::Cookie parse

2000-02-04 Thread Nick Tonkin
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')); >

CGI::Cookie parse

2000-02-04 Thread Aaron Ross
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