Andrey Rachitskiy <pl0h0yp1(at)gmail(dot)com> writes:
> sorry, here is the correct link - `
> https://github.com/Perl/perl5/blob/c31ca2013f287840fcddf498ead9602666569966/cpan/Encode/Encode.xs#L1107`
Yeah, this is an example of the pattern I was talking about: functions
calling SvGETMAGIC on random SV*'s that are passed to them. What
I do not see is SvGETMAGIC being called on values obtained from
hv_iternext or av_fetch. Maybe all the internal usages in Perl are
working with hashes/arrays that they know aren't tied, but that
seems unlikely.
regards, tom lane