ExtUtils::Config(3) User Contributed Perl Documentation ExtUtils::Config(3)

# [SYNOPSIS](#SYNOPSIS)

```
 my $config = ExtUtils::Config->new();
 $config->get('installsitelib');
```

# [DESCRIPTION](#DESCRIPTION)

ExtUtils::Config is an abstraction around the %Config hash. By itself it is not a particularly interesting module by any measure, however it ties together a family of modern toolchain modules.

Create a new ExtUtils::Config object. The values in "\\%config" are used to initialize the object.

Get the value of $key. If not overridden it will return the value in %Config.

Tests for the existence of $key.

This creates a new "ExtUtils::Config" object based on the current one, but with the values in %keys replacing the current values. Any undefined value means it will be removed from the overriden set.

Get a hashref of all overridden values.

Get a hashref of the complete configuration, including overrides.

This method serializes the object to some kind of string. This can be useful for various caching purposes.

# [SEE ALSO](#SEE_ALSO)

- Module::Build::Tiny
- ExtUtils::InstallPaths
- CPAN::Static::Install
- ExtUtils::HasCompiler
- ExtUtils::Builder
- CPAN::Requirements::Dynamic
- Devel::FindPerl

# [POD ERRORS](#POD_ERRORS)

Hey! **The above document had some coding errors, which are explained below:**

[Around line 67:](#Around)

Unknown directive: =method

[Around line 71:](#Around~2)

Unknown directive: =method

[Around line 75:](#Around~3)

Unknown directive: =method

[Around line 79:](#Around~4)

Unknown directive: =method

[Around line 83:](#Around~5)

Unknown directive: =method

[Around line 87:](#Around~6)

Unknown directive: =method

[Around line 91:](#Around~7)

Unknown directive: =method

2026-06-18 perl v5.42.2

---

Document: ExtUtils::Config(3pm) from perl-extutils-config 0.010-r8 (Chainguard OS)
Source: https://github.com/Perl-Toolchain-Gang/extutils-config
