1Config::MVP::Reader::HaUsshe(r3)Contributed Perl DocumenCtoantfiiogn::MVP::Reader::Hash(3)
2
3
4
6 Config::MVP::Reader::Hash - a reader that tries to cope with a plain
7 old hashref
8
10 version 2.200013
11
13 my $sequence = Config::MVP::Reader::Hash->new->read_config( \%config );
14
16 In some ways, this is the Config::MVP::Reader of last resort. Given a
17 hashref, it attempts to interpret it as a Config::MVP::Sequence.
18 Because hashes are generally unordered, order can't be relied upon
19 unless the hash tied to have order (presumably with Tie::IxHash). The
20 hash keys are assumed to be section names and will be used as the
21 section package moniker unless a __package entry is found.
22
24 This module should work on any version of perl still receiving updates
25 from the Perl 5 Porters. This means it should work on any version of
26 perl released in the last two to three years. (That is, if the most
27 recently released version is v5.40, then this module should work on
28 both v5.40 and v5.38.)
29
30 Although it may work on older versions of perl, no guarantee is made
31 that the minimum required version will not be increased. The version
32 may be increased for any reason, and there is no promise that patches
33 will be accepted to lower the minimum required perl.
34
36 Ricardo Signes <cpan@semiotic.systems>
37
39 This software is copyright (c) 2022 by Ricardo Signes.
40
41 This is free software; you can redistribute it and/or modify it under
42 the same terms as the Perl 5 programming language system itself.
43
44
45
46perl v5.36.0 2023-01-20 Config::MVP::Reader::Hash(3)