[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 reversed code: my $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-headers_in-get('Cookie')); I

Re: CGI::Cookie parse

2000-02-04 Thread Nick Tonkin
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')); I will get this error: Can't call method "register_cleanup" on an undef

Re: CGI::Cookie parse

2000-02-04 Thread Stas Bekman
On Fri, 4 Feb 2000, Aaron Ross wrote: 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

Re: CGI::Cookie parse

2000-02-04 Thread Aaron Ross
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')); I will get this error: Can't call method "register_cleanup" on an undefined value at /usr/lib/perl5/5.00