myconfig#
Return a human-readable summary of the interpreter’s build.
Synopsis#
use Config;
print Config::myconfig();
What you get back#
A single multi-line string, suitable for printing verbatim. Groups
the values under Platform, Compiler, and Linker and Libraries
headings, matching the shape expected by tools that scrape
perl -V-style output.
Examples#
use Config;
my $summary = Config::myconfig();
print $summary if $summary =~ /osname=linux/;
Edge cases#
Returns a fresh scalar on every call; cache it if used repeatedly in a hot path.
Differences from upstream#
Platform, compiler, and library values describe pperl’s build (Rust toolchain, pperl version line) rather than a C-compiled perl. The layout and key names match upstream so existing parsers keep working.