Using Apache::Register and print
[prev]
[thread]
[next]
[Date index for 2005/02/17]
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
|