Dual-Life / Devel-PPPort

Perl/Pollution/Portability
9 stars 28 forks source link

G_RETHROW changes don't work on early perls #158

Closed khwilliamson closed 4 years ago

khwilliamson commented 4 years ago

The problem is that the macro is defined to expand to Perl_eval_sv. But this function doesn't exist in early perls. Instead there is perl_eval_sv. In fact this change throws the effect that this code earlier in the file has:

UNDEFINED eval_sv perl_eval_sv

I'm not sure what the best fix for this is. That code above is within a / Replace: 1 / section. So that has to be considered. HACKERS has been updated to talk about this previously undocumented feature.