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.200001
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 Ricardo Signes <rjbs@cpan.org>
25
27 This software is copyright (c) 2011 by Ricardo Signes.
28
29 This is free software; you can redistribute it and/or modify it under
30 the same terms as the Perl 5 programming language system itself.
31
32
33
34perl v5.12.3 2011-02-11 Config::MVP::Reader::Hash(3)