$r-print does not dereference
Hi 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 thanks for help pascal Accédez au courrier électronique de La Poste : www.laposte.net ; 3615 LAPOSTENET (0,13 /mn) ; tél : 08 92 68 13 50 (0,34/mn)
RE: $r-print does not dereference
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 This is an intentional and documented performance hack. RTFM. :) :):) Sorry I don't understand RTFM :) I forgot to mention the dereference does not work in Apache::Filter context, while it works in regular situations. Pascal Accédez au courrier électronique de La Poste : www.laposte.net ; 3615 LAPOSTENET (0,13 /mn) ; tél : 08 92 68 13 50 (0,34/mn)
Re: $r-print does not dereference
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. --Geoff
RE: $r-print does not dereference
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 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 thanks for help pascal Accédez au courrier électronique de La Poste : www.laposte.net ; 3615 LAPOSTENET (0,13 /mn) ; tél : 08 92 68 13 50 (0,34/mn)
RE: $r-print does not dereference
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 dereference 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 This is an intentional and documented performance hack. RTFM. :) :):) Sorry I don't understand RTFM :) I forgot to mention the dereference does not work in Apache::Filter context, while it works in regular situations. Pascal Accédez au courrier électronique de La Poste : www.laposte.net ; 3615 LAPOSTENET (0,13 /mn) ; tél : 08 92 68 13 50 (0,34/mn)