mirror of
https://github.com/Perl/perl5.git
synced 2026-01-26 08:38:23 +00:00
Based on @leont's comment on #23160. This seems to produce reasonable results: tony@venus:.../git/perl6$ cat foo.c SvVSTRING tony@venus:.../git/perl6$ ./perl -Ilib dist/Devel-PPPort/ppport.h --nofilter foo.c Scanning foo.c ... === Analyzing foo.c === Uses SvVSTRING, which depends on sv_vstring_get, SvVSTRING_mg, mg_find, PERL_MAGIC_vstring, SvMAGICAL File needs sv_vstring_get, adding static request Needs to include 'ppport.h' Analysis completed Suggested changes: --- foo.c 2025-04-01 10:51:39.040415623 +1100 +++ foo.c.patched 2025-04-01 10:55:11.347014468 +1100 @@ -1 +1,3 @@ +#define NEED_sv_vstring_get +#include "ppport.h" SvVSTRING