sorry, I think I got things backwards there. it's _not_ dereferencing?
dho! monday mornings...
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, September 03, 2002 9:59 AM
To: andrew.hammond
Cc: modperl
Subject: RE: $r->print does not der
This is an intentional and documented performance hack. RTFM. :)
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, September 03, 2002 7:39 AM
To: modperl
Subject: $r->print does not dereference
Hi
when using $r->print in perl 561/modperl 1.26 conte
>
> I forgot to mention the dereference does not work in
> Apache::Filter context, while it works in regular situations.
Apache::Filter does not support the auto-deferencing (and deprecated
in 2.0) feature of $r->print.
I sent a patch to Ken but, IIRC, he decided not to implement it.
--Geof
> when using $r->print in perl 561/modperl 1.26 context on
winXP,
> I cannot get the value passed to be dereferenced as it is
> explained in the doc $r->print automatically does.
>
> $out='toto' ;
>
> $r->print($out) ->output toto
>
> $r->print(\$out)
> $r->print((\$out)) ->both output scalar xxx