Hi Mod_perl gurus

I was just reading a thread about blank output after upgrading to perl
5.8.1 and I've got the same problem

The thread previously was subject: Blank output after 5.8.1 upgrade

I've got a Linux server runing mod_perl 1 and perl 5.6.0 and apache 1.

I've got a laptop running apple's OS X with 10.3 so that's Perl 5.8.1
status hooks on OSX say:

Embedded Perl version v5.8.1 for Apache/1.3.28 (Darwin) mod_perl/1.26

If I print like so I get output in the browser (on my Linux Box and on
my OSX):
    
    $r->print("mod_perl rules!\n");
    
If I do it like this I do not on my OSX box, but OK on my linux box:

    print "OK";
    

2 questions. 

1. Do I need to upgrade my Mod_perl version to 1.29 to fix this on my
OSX setup as suggested at:

http://www.gossamer-threads.com/perl/mailarc/gforum.cgi?post=85390;
search_string=apache%20print%20no%20output;guest=1597114&t=search_engine
#85390

2. Should I infact be using the $r->print("OK"); style rather than the
straight forward Print anyway. Perl... there's too many ways to do it ;)

This is the last hrudle, everything else is working right (I think ;)

Cheers

Angie

BTW I really don't want to go and do separate compiles at this time.
It's just too scary as I don't actually know what either Apple or Ensim
are doing, getting there, but not yet.


-- 
Reporting bugs: http://perl.apache.org/bugs/
Mail list info: http://perl.apache.org/maillist/modperl.html

Reply via email to