Subject: | Builds unusable code for perl 5.10.0 - newSVpvn_flags() missing |
Generated code works fine on 5.10.1 and above, or on 5.8.9. Breaks for
5.10.0 because of a lack of newSVpvn_flags().
E.g.
http://www.cpantesters.org/cpan/report/970173a2-1f95-11e1-9d6f-f6dbfa7543f5
On Perl versions older than this, output like
sv = newSVpvn_flags(str, len, SVs_TEMP);
should instead be written
sv = sv_2mortal(newSVpvn(str, len));
I'm willing to supply a patch if required...
--
Paul Evans