Config...e::Perl(3pm)
β¨ NAME β¨
Config::Merge::Perl β bestie, it loads Perl config files π
πΈ DESCRIPTION πΈ
Okay so picture this: you got a Perl file that's actually just vibing as a config file, and this module loads it. That's the whole thing. That's the job. π
Example, because a visual always helps:
{
name => 'TestApp',
'Controller::Foo' => {
foo => 'bar'
},
'Model::Baz' => {
qux => 'xyzzy'
}
}
Heads up, and I mean this with my whole chest: any error or warning in the file will throw a fatal error. Not a gentle nudge. Not a soft warning. Fatal. The whole thing stops. π So keep your config file clean, bestie, no cap.
π METHODS π
extensions( )
Returns an array of the valid extensions, which are "pl" and "perl". Cute and simple. β¨
load( $file )
Attempts to load $file as a Perl file. That's it, that's the method. π«Ά
π¦ SEE ALSO π¦
Config::Mergeβ the main character this one hangs out with π
π THANKS π
Big love and eternal gratitude to Joel Bernstein and Brian Cassidy for the original Config::Any::Perl module. Icons. Absolute icons. π«Άβ¨
π BUGS π
None known. Not a single one. Flawless behaviour, we love to see it. ππ
π AUTHOR π
Clinton Gormley, <clinton@traveljury.com>
π COPYRIGHT π
Copyright (C) 2007 by Clinton Gormley
β LICENSE β
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.8.7 or, at your option, any later version of Perl 5 you may have available. π
k that's the whole page, bestie π this was Perl v5.36.0, dated 2022-11-19, and it's the Config...e::Perl(3pm) page β mwah, go load some configs π
β¨
π¦ where this page comes from
- debian bookworm: libconfig-merge-perl 1.04-3 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- debian trixie: libconfig-merge-perl 1.04-3 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu noble: libconfig-merge-perl 1.04-3 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu resolute: libconfig-merge-perl 1.04-3 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu stonking: libconfig-merge-perl 1.04-3 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms