Using Apache::Register and print

[prev] [thread] [next] [Date index for 2005/02/17]

From: Boysenberry Payne
Subject: Using Apache::Register and print
Date: 18:33 on 17 Feb 2005
I'm using mod_perl with Apache::Register in the httpd.conf file.
The only way I can get output to my web browser is by using
my $r = Apache->request;
$r->print( "Output" );

This is regardless of the Content Type declaration.

If I try printing using a standard print command I get nothing.
I've been exploring mod_perl using books like:
Perl Cookbook
Programming Perl
Learning Perl
as well as a few others by O' Reilly
In all of them, including the ones giving descriptions
on setting up mod_perl on Apache using Apache::Registry
use both the $r->print and standard print in their examples.
Yet, I can only get output by $r->print( "Whatever" ).
Is there something I'm missing.  Or is it a configure issue?
I'm using perl 5.8.1, mod_perl 1.26 and apache 1.3.33 on
OS X Panther (i.e. 10.3).

Thanks,
Boysenberry

(message missing)

Using Apache::Register and print
Boysenberry Payne 18:33 on 17 Feb 2005

Using Apache::Register and print
Boysenberry Payne 19:28 on 17 Feb 2005

Re: Using Apache::Register and print
Stas Bekman 23:15 on 17 Feb 2005

Generated at 11:21 on 20 Feb 2005 by mariachi v0.52