Config:...::Config(3)
π Config::Generator::Config π
okay so you're on the Config:...::Config(3) page from the User Contributed Perl Documentation, and this one is all about Config::Generator::Config β yes bestie, the name is a whole mouthful, but we move. It's giving config-support era and we're here for it. π
πΈ NAME πΈ
Config::Generator::Config β Config::Generator configuration support. That's the whole vibe: config support, delivered. β¨
π DESCRIPTION π
This module eases the manipulation of the high-level configuration data. Lowkey its whole job is making high-level config data less of a headache to manipulate, and honestly? Obsessed. π«Ά
β¨ FUNCTIONS β¨
okay so this module provides the following functions, and bestie, listen: none of them are exported by default. Not a single one. You gotta know that going in. π
hack_config(ACTION, PATH[, VALUE])β modify the configuration under the givenPATH;ACTIONcan be"merge","set"or"unset". It's giving choose-your-fighter but for config actions. π₯load_config(PATH...)β load the given configuration files. MultiplePATHs? Yes bestie, the...said what it said. πΈmerge_config(CONFIG)β merge the given configuration. Simple, iconic, no notes. πprune_config()β prune the configuration (i.e. remove the keys with undefined value). It's literally a little cleanup moment for your config. π§stringify_config([OPTIONS])β transform the configuration into a string; supported options:"format"β name of the format to use instead; possible values:"Config::General"(default)"JSON"
Pick your format, slay your stringify. π
π <gold>AUTHOR</gold> π
Lionel Cons <http://cern.ch/lionel.cons>
Copyright (C) CERN 2013-2016
Author royalty, copyright royalty β we love to see it. π
π signed, sealed, and versioned, bestie: perl v5.32.1, dated 2019-07-26, page Config:...::Config(3) π«Ά
π¦ where this page comes from
- epel 9: perl-Config-Generator 1.0-10.el9 Β· GPL+ or Artistic
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms