------=_Part_4911_28563611.1198437992326
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

I was getting blank pages until switching SetHandler back to perl-script.

(Eureka! Yet more evidence that MP does quietly handle loose compliance
until you turn it off !)

Thanks again Perrin for shedding light and sharing wisdom.


-w



On Dec 22, 2007 10:53 PM, wrote:

> Quoting Perrin Harkins :
>
> > On Dec 22, 2007 5:21 PM, Jonathan Vanasco wrote:
> >> On Dec 22, 2007, at 4:47 PM, Perrin Harkins wrote:
> >> > By the way, if you just call print() normally it should all be

> grabbed
> >> > by mod_perl anyway. Is there some reason you need to call

> $r->print()
> >> > instead?
> >>
> >> I thought it only does that if you bind STDOUT the right way on
> >> compile time, otherwise it just gets lost in the ether

> >
> > No, mod_perl does all of that for you. It's been this way since 1996.
> >

>
> I think the print magic only happens if you are running under
> SetHandler perl-script, and not if you are running under SetHandler
> modperl.
>
> Adam
>
>


------=_Part_4911_28563611.1198437992326
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

I was getting blank pages until switching SetHandler back to perl-script.

(Eureka! Yet more evidence that MP does quietly handle loose compliance until you turn it off !)

Thanks again Perrin for shedding light and sharing wisdom.



-w



On Dec 22, 2007 10:53 PM, <adam.prime@utoronto.ca> wrote:

Quoting Perrin Harkins <errin@elem.com">perrin@elem.com>:

> On Dec 22, 2007 5:21 PM, Jonathan Vanasco <jvanasco@2xlp.com
> wrote:
>> On Dec 22, 2007, at 4:47 PM, Perrin Harkins wrote:
>> > By the way, if you just call print() normally it should all be grabbed
>> > by mod_perl anyway.  Is there some reason you need to call $r->print()

>> > instead?
>>
>> I thought it only does that if you bind STDOUT the right way on
>> compile time, otherwise it just gets lost in the ether
>
> No, mod_perl does all of that for you.  It's been this way since 1996.

>

I think the print magic only happens if you are running under
SetHandler perl-script, and not if you are running under SetHandler
modperl.

Adam




------=_Part_4911_28563611.1198437992326--