Config:...er::Hash(3)
π Config::MVP::Reader::Hash β the manual page, but make it a group chat π
okay bestie, so this is the page for Config::MVP::Reader::Hash, and it lives in section 3 (that's the "User Contributed Perl Documentation" corner of the manual, iykyk). Pull up a chair, grab a strawberry π, and let's get into it.
β¨ NAME β¨
Config::MVP::Reader::Hash β a reader that tries to cope with a plain old hashref. π she's doing her best, okay??
πΈ VERSION πΈ
version 2.200013
π¦ SYNOPSIS π¦
Look at her go, so simple:
my $sequence = Config::MVP::Reader::Hash->new->read_config( \%config );
that's it. that's the whole vibe. π
π DESCRIPTION π
ngl, in some ways this is the Config::MVP::Reader of last resort. Like, when nothing else works, she's there. π«Ά
So what does she do? You hand her a hashref, and she attempts to interpret it as a Config::MVP::Sequence. Attempts!! that word is doing a lot of heavy lifting, bestie, and we respect that.
The way that hashes are generally unordered?? Yeah, that's a whole thing. Order can't be relied upon unless the hash is tied to have order β presumably with Tie::IxHash. So if you need your order, go tie that hash, girl. β¨
And here's the cute part: the hash keys are assumed to be section names, and they get used as the section package moniker β unless a __package entry is found. Then that one takes over. iconic behaviour honestly. π
π PERL VERSION π
This module should work on any version of perl still receiving updates from the Perl 5 Porters. Which means, fr fr, it should work on any version of perl released in the last two to three years. (Like β if the most recently released version is v5.40, then this module should work on both v5.40 and v5.38.) π
but wait, there's a caveat, and I need you to hear me on this one: although it may work on older versions of perl, no guarantee is made that the minimum required version will not be increased. The version may be increased for any reason, and there is no promise that patches will be accepted to lower the minimum required perl. so likeβ¦ don't come for her. π
π AUTHOR π
Ricardo Signes <cpan@semiotic.systems> β king behaviour, we stan. π«Ά
π COPYRIGHT AND LICENSE π
This software is copyright (c) 2022 by Ricardo Signes.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself. slay, legally. β
and that's the page, bestie!! πΈ mwah π
little sign-off moment: this was perlv5.42.0, dated2025-07-25, and the manual name wasConfig:...er::Hash(3). π go forth and read your configs β¨
π¦ where this page comes from
- fedora 43: perl-Config-MVP 2.200013-9.fc43 Β· GPL-1.0-or-later OR Artistic-1.0-Perl
- fedora 44: perl-Config-MVP 2.200013-9.fc43 Β· GPL-1.0-or-later OR Artistic-1.0-Perl
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms