I'm having problems with the latest libapreq2-2.05.
If I run the sample script (below) I get this error
"Can't call method "err_headers_out" on an undefined value at
/usr/lib/perl5/site_perl/5.8.5/i386-linux-thread-multi/Apache2/Cookie.pm
line 85"
The error comes at the "bake" command.. commenting it out lets the script
run fine (albeit with no cookie sent to the browser).
test.pl
-----------
use Apache2::Request;
use Apache2::Cookie;
$r = shift; $c_out = Apache2::Cookie->new($r, -name => "mycookie", -value
=> "TEST VALUE" );$c_out->path("/bar"); # set path to "/bar"
$c_out->bake; # send cookie in response
headers$r->content_type("text/html");$r->print("Hello World");