1ExtUtils::Config(3) User Contributed Perl Documentation ExtUtils::Config(3)
2
3
4
6 ExtUtils::Config - A wrapper for perl's configuration
7
9 version 0.008
10
12 my $config = ExtUtils::Config->new();
13 $config->get('installsitelib');
14
16 ExtUtils::Config is an abstraction around the %Config hash. By itself
17 it is not a particularly interesting module by any measure, however it
18 ties together a family of modern toolchain modules.
19
21 new(\%config)
22 Create a new ExtUtils::Config object. The values in "\%config" are used
23 to initialize the object.
24
25 get($key)
26 Get the value of $key. If not overridden it will return the value in
27 %Config.
28
29 exists($key)
30 Tests for the existence of $key.
31
32 values_set()
33 Get a hashref of all overridden values.
34
35 all_config()
36 Get a hashref of the complete configuration, including overrides.
37
38 serialize()
39 This method serializes the object to some kind of string.
40
42 · Ken Williams <kwilliams@cpan.org>
43
44 · Leon Timmermans <leont@cpan.org>
45
47 This software is copyright (c) 2006 by Ken Williams, Leon Timmermans.
48
49 This is free software; you can redistribute it and/or modify it under
50 the same terms as the Perl 5 programming language system itself.
51
52
53
54perl v5.32.0 2020-07-28 ExtUtils::Config(3)