Return-Path: Delivered-To: apmail-perl-modperl-archive@www.apache.org Received: (qmail 367 invoked from network); 14 Sep 2007 18:33:45 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 14 Sep 2007 18:33:45 -0000 Received: (qmail 92935 invoked by uid 500); 14 Sep 2007 18:33:35 -0000 Delivered-To: apmail-perl-modperl-archive@perl.apache.org Received: (qmail 91908 invoked by uid 500); 14 Sep 2007 18:33:33 -0000 Mailing-List: contact modperl-help@perl.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list modperl@perl.apache.org Received: (qmail 91893 invoked by uid 99); 14 Sep 2007 18:33:33 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 14 Sep 2007 11:33:33 -0700 X-ASF-Spam-Status: No, hits=2.0 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of appar@netvision.net.il designates 194.90.9.24 as permitted sender) Received: from [194.90.9.24] (HELO mxout3.netvision.net.il) (194.90.9.24) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 14 Sep 2007 18:33:30 +0000 Received: from freelancer ([89.138.186.254]) by mxout3.netvision.net.il (Sun Java System Messaging Server 6.2-8.04 (built Feb 28 2007)) with ESMTP id <0JOD008Z6FJCU6C0@mxout3.netvision.net.il> for modperl@perl.apache.org; Fri, 14 Sep 2007 21:33:16 +0300 (IDT) Date: Fri, 14 Sep 2007 21:33:14 +0200 From: Eli Shemer Subject: apr To: modperl@perl.apache.org Message-id: <000e01c7f706$17d68e30$4783aa90$@net.il> MIME-version: 1.0 X-Mailer: Microsoft Office Outlook 12.0 Content-type: multipart/alternative; boundary="Boundary_(ID_kOryCuCUSe/BkvbxyGpzQA)" Content-language: en-us Thread-index: Acf3BhewqocBc+HTQseqlu7IESFcWQ== X-Virus-Checked: Checked by ClamAV on apache.org This is a multipart message in MIME format. --Boundary_(ID_kOryCuCUSe/BkvbxyGpzQA) Content-type: text/plain; charset=us-ascii Content-transfer-encoding: 7BIT Hey again Once I add the apr object I get no error but I also receive no output on the screen. Any thoughts ? #!/usr/bin/perl use Apache2::Request; my $r=Apache2::RequestRec; #my $apr = Apache2::Request->new($r); $r->content_type('text/html'); $r->headers_out(); print "bla"; --Boundary_(ID_kOryCuCUSe/BkvbxyGpzQA) Content-type: text/html; charset=us-ascii Content-transfer-encoding: 7BIT

Hey again

Once I add the apr object I get no error but I also receive no output on the screen.

Any thoughts ?

 

#!/usr/bin/perl

use Apache2::Request;

 

my $r=Apache2::RequestRec;

#my $apr = Apache2::Request->new($r);   

$r->content_type('text/html');

$r->headers_out();

print "bla";

--Boundary_(ID_kOryCuCUSe/BkvbxyGpzQA)--