Geoffrey Young wrote: > I think the issue is that after your manipulations $dataref is no longer a > plain PV. I used Devel::Peek to look at $dataref before and after and it > changes from a PV to PVMG. where this trips up mod_perl is in > Apache::write_client: > > SV *sv = SvROK(ST(i)) && (SvTYPE(SvRV(ST(i))) == SVt_PV) ?
At first sight, a >= looks more correct here -----------^^ > (SV*)SvRV(ST(i)) : ST(i); > > so, if the scalar reference to be printed isn't of type SVt_PV it does not > get dereferenced. > > I suppose we could change that to a SvPOK check instead, but I'm really not > inclined to change anything here - doug has said several times that the > magical dereferencing in $r->print() was a bad idea and should be considered > deprecated. it's not in 2.0 either, so you'll need to dereference yourself > in order to port your code (someday :) your call :) (I wasn't ever aware of this magical dereference thing) -- Reporting bugs: http://perl.apache.org/bugs/ Mail list info: http://perl.apache.org/maillist/modperl.html