bincompat_options#

Return the compile-time options that affect binary compatibility.

Σύνοψη#

use Config;
my @opts = Config::bincompat_options();

Τι επιστρέφεται#

A list of option names (USE_64_BIT_INT, USE_PERLIO, and so on) representing decisions baked into the interpreter that would break loading of incompatibly-built XS binaries.

Παραδείγματα#

use Config;
print "64-bit ints\n"
    if grep { $_ eq 'USE_64_BIT_INT' } Config::bincompat_options();

Διαφορές από το upstream#

  • The list reports the options that truthfully apply to pperl’s build. Upstream-specific switches that do not exist in pperl are omitted rather than forged.