ExtUtils::Config(3pm)

ExtUtils::Config3pm

A wrapper for perl's configuration

Usage

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

Version

version 0.010

Overview

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.

Methods

new(\%config)

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

get($key)

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

exists($key)

Tests for the existence of $key.

but(\%keys)

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.

values_set()

Get a hashref of all overridden values.

all_config()

Get a hashref of the complete configuration, including overrides.

serialize()

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

Releases

7 releases since Debian 8 (Jessie); the text changed 4 times.

  1. 8–9
  2. 10–11
  3. 12
  4. 13
  5. Arch

Authors

•

Ken Williams <[email protected]>

•

Leon Timmermans <[email protected]>

From perl-extutils-config 0.010-3 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.