Config:...::Schema(3)
β¨ Config::...::Schema(3) β¨
okay so bestie, this is the Config::Generator::Schema page from the Perl docs (User Contributed Perl Documentation, iykyk π
) β and it's literally the schema support module for Config::Generator. it's giving "small but mighty" and honestly? we love her for that π«Ά
π NAME π
Config::Generator::Schema β Config::Generator schema support β¨
πΈ DESCRIPTION πΈ
This module eases the manipulation of schemas used to validate the configuration data. no cap, that's the whole vibe β it makes wrangling those schemas way less of a struggle π
π¦ FUNCTIONS π¦
This module provides the following functions, and bestie listen β none of them are exported by default π so you gotta ask for them yourself, okay?
extend_schema(NAME, SCHEMA)β extend the named schema. like giving it a little glow-up β¨mandatory_subtree(NAME)β declare a part of the schema to be mandatory. no skipping this one, it's non-negotiable πregister_schema(NAME, SCHEMA)β register the given SCHEMA under the given NAME. official filing, main character energy πvalidate_basic()β perform a basic validation (before any schema is even known). baby's first vibe check π±validate_before()β perform a schema-based validation (before the execution of the"check"hooks) β°validate_after()β perform a schema-based validation (after the execution of the"check"hooks) πvalidate_data(DATA, NAME)β validate the given DATA using the given named schema. put it through the test, bestie π
π CONSTANTS π
This module provides the following useful constants to simplify schema declarations β and again, none of them are exported by default, so grab them yourself π
β The DEF_ crew β
DEF_BOOLEANDEF_DURATIONDEF_HOSTNAMEDEF_INTEGERDEF_NAMEDEF_NUMBERDEF_PATHDEF_SIZEDEF_STRING
π The OPT_ squad π
OPT_BOOLEANOPT_DURATIONOPT_HOSTNAMEOPT_INTEGEROPT_NAMEOPT_NUMBEROPT_PATHOPT_SIZEOPT_STRINGOPT_STRING_LISTOPT_STRING_TABLE
π₯ The REQ_ icons π₯
REQ_BOOLEANREQ_DURATIONREQ_HOSTNAMEREQ_INTEGERREQ_NAMEREQ_NUMBERREQ_PATHREQ_SIZEREQ_STRING
π§ AUTHOR π§
Lionel Cons <http://cern.ch/lionel.cons> π«Ά
Copyright (C) CERN 2013-2016 πΈ
and that's the whole page bestie, every single constant accounted for, nothing skipped, we ate and left no crumbs π π
perl v5.32.1 Β· 2019-07-26 Β· Config:...::Schema(3) β mwah, see u in the next manpage, ily! πβ¨ππ¦
π¦ 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