local_patches#

Return the list of local patches applied to the interpreter.

Synopsis#

use Config;
my @patches = Config::local_patches();

What you get back#

A list of strings, one per local patch. The list is empty when the interpreter was built from pristine sources.

Examples#

use Config;
print "vanilla build\n" unless Config::local_patches();

Differences from upstream#

  • Always returns an empty list under pperl. pperl is not a patched fork of upstream perl, so there is no patch trail to report.