Config:...::Config(3)

πŸ“¦ version 1.0, in epel 9

πŸŽ€ 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 given PATH; ACTION can be "merge", "set" or "unset". It's giving choose-your-fighter but for config actions. πŸ”₯
  • load_config(PATH...) β€” load the given configuration files. Multiple PATHs? 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