Config...e::Perl(3pm)

πŸ“¦
version 1.04 Β· 2 versions
  • 1.04 Β· debian bookworm, debian trixie, ubuntu noble, ubuntu resolute, ubuntu stonking (latest)
  • 1.04 Β· ubuntu jammy
, in debian bookworm, debian trixie, ubuntu noble, ubuntu resolute, ubuntu stonking

✨ 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 (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