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 -----------^^
> 
> ah, cool - I didn't realize you could do that (though I guess it makes sense
> when you think about it :)
> 
> but do you really want to derefernce a SVt_PVFM?  the implications here are
> far beyond my reach.

That's a common idiom in the perl core -- hence my "at first sight".
A couple of bugs were fixed like this.

I usually stay carefully far from formats :)

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

Reply via email to