Return-Path: Delivered-To: apmail-httpd-apreq-dev-archive@www.apache.org Received: (qmail 25942 invoked from network); 3 Jun 2005 20:35:41 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 3 Jun 2005 20:35:41 -0000 Received: (qmail 59949 invoked by uid 500); 3 Jun 2005 20:35:40 -0000 Delivered-To: apmail-httpd-apreq-dev-archive@httpd.apache.org Received: (qmail 59901 invoked by uid 500); 3 Jun 2005 20:35:40 -0000 Mailing-List: contact apreq-dev-help@httpd.apache.org; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Id: Delivered-To: mailing list apreq-dev@httpd.apache.org Received: (qmail 59873 invoked by uid 99); 3 Jun 2005 20:35:39 -0000 X-ASF-Spam-Status: No, hits=0.1 required=10.0 tests=FORGED_RCVD_HELO X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from mail.powernet.co.uk (HELO goldfinger.tr.power.net.uk) (195.60.31.47) by apache.org (qpsmtpd/0.28) with SMTP; Fri, 03 Jun 2005 13:35:38 -0700 Received: (qmail 17855 invoked from network); 3 Jun 2005 20:35:20 -0000 Received: from unknown (HELO server) (195.60.18.186) by goldfinger.tr.power.net.uk with SMTP; 3 Jun 2005 20:35:20 -0000 Received: from local-ip[x.x.x.x] by server; Fri, 03 Jun 2005 21:33:31 +0100 Message-ID: <000f01c5687b$c2810a70$1b00000a@David> From: "David Brown" To: Subject: Bake & err_header_out error Date: Fri, 3 Jun 2005 21:35:20 +0100 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="Windows-1252"; reply-type=original Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.2180 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 X-Virus-Checked: Checked X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N 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");