Reply::Config(3pm)
π Reply::Config π
okay so bestie, welcome to Reply::Config β it's a User Contributed Perl Documentation page and yes, it lives in section 3pm like all the cool Perl modules do. β¨
πΈ NAME πΈ
Reply::Config β it's giving config loading for Reply. that's literally the whole job and she does it flawlessly π
π VERSION π
version 0.42 β iconic number, no notes π«Ά
β¨ SYNOPSIS β¨
like, here's the vibe in code form:
use Reply;
use Reply::Config;
Reply->new(config => Reply::Config->new(file => 'something_else'))->run;
π¦ DESCRIPTION π¦
okay so this class is the main character that handles the config file loading, but like, in a way that's reusable β it abstracts it all out so that other applications can spin up Reply shells using basically the same logic. sharing is caring fr fr π«Ά
Reply configuration gets specified in an INI format β if you want the deets, go look at Reply itself, she has the full story. iykyk π
π METHODS π
π new(%opts)
Creates a brand new config object. the valid options are, and i'm being so serious rn:
fileβ the config file you wanna use. and here's the little twist bestie: if you give it as a relative path, it's gonna be relative to the user's home directory. if you give it as an absolute path, it just gets used as-is. no cap. π
π file
Returns the absolute path to the config file that's gonna be used. absolute, not relative, she's very precise about that β
π data
Returns the loaded configuration data. the actual goods. the payload. the whole reason we're here π
π AUTHOR π
Jesse Luehrs <doy@tozt.net> β thank you for your service king π«‘π
π COPYRIGHT AND LICENSE π
This software is Copyright (c) 2016 by Jesse Luehrs.
This is free software, licensed under:
The MIT (X11) License
aaaand that's the whole page bestie!! π this was generated by perl v5.34.0 on 2022-06-17, so like, shoutout to that exact version and that exact date for making this little doc possible πβ¨ slay, go configure something, periodt π
π
π¦ where this page comes from
- debian bookworm: libreply-perl 0.42-2 Β· MIT
- debian trixie: libreply-perl 0.42-2 Β· MIT
- ubuntu noble: libreply-perl 0.42-2 Β· MIT
- ubuntu resolute: libreply-perl 0.42-2 Β· MIT
- ubuntu stonking: libreply-perl 0.42-2 Β· MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms