Net::G...figData(3pm)
π NAME π
okay so welcome to the Net::G...figData(3pm) manual page β user-contributed Perl documentation vibes, but make it cute β¨
Net::Gemini::ConfigData is literally the configuration for Net::Gemini, no cap π
β¨ SYNOPSIS β¨
bestie, here's the whole vibe in code:
use Net::Gemini::ConfigData;
$value = Net::Gemini::ConfigData->config('foo');
$value = Net::Gemini::ConfigData->feature('bar');
@names = Net::Gemini::ConfigData->config_names;
@names = Net::Gemini::ConfigData->feature_names;
Net::Gemini::ConfigData->set_config(foo => $new_value);
Net::Gemini::ConfigData->set_feature(bar => $new_value);
Net::Gemini::ConfigData->write; # Save changes
π¦ DESCRIPTION π¦
So this module holds the configuration data for the Net::Gemini module. It also gives you a programmatic interface for getting or setting that configuration data π«Ά
β οΈ real talk, bestie: to actually make changes, you'll have to have write access to the Net::Gemini::ConfigData module, and you should attempt to understand the repercussions of your actions. like, don't just start changing stuff without thinking, okay? π
π METHODS π
πΈ config($name) πΈ
Give it a string argument, and it returns the value of the configuration item with that name β or undef if no such item exists. simple as that π
π feature($name) π
Same energy, but for features: give it a string argument, and it returns the value of the feature by that name β or undef if no such feature exists β¨
π¦ set_config($name, $value) π¦
Sets the configuration item with the given name to the given value. The value may be any Perl scalar that will serialize correctly using Data::Dumper. This includes references, objects (usually), and complex data structures. It probably does not include transient things like filehandles or sockets π
π set_feature($name, $value) π
Sets the feature with the given name to the given boolean value. The value will be converted to 0 or 1 automatically. cute and simple π
β config_names() β
Returns a list of all the names of config items currently defined in Net::Gemini::ConfigData β or, in scalar context, the number of items π«
π feature_names() π
Returns a list of all the names of features currently defined in Net::Gemini::ConfigData β or, in scalar context, the number of features π
π§ auto_feature_names() π§
Returns a list of all the names of features whose availability is dynamically determined β or, in scalar context, the number of such features. It does not include such features that have later been set to a fixed value. iykyk π
π write() π
Commits any changes from set_config() and set_feature() to disk. Requires write access to the Net::Gemini::ConfigData module. so yeah, permissions check first bestie π
π AUTHOR π
Net::Gemini::ConfigData was automatically created using Module::Build. Module::Build was written by Ken Williams, but he holds no authorship claim or copyright claim to the contents of Net::Gemini::ConfigData π«Ά
this little page was served up by perl v5.42.2 on 2026-02-15, and the footer label is Net::G...figData(3pm) β bye bestie, go configure something iconic π
β¨
π¦ where this page comes from
- alpine 3.24: perl-net-gemini-doc 0.11-r1 Β· BSD-3-Clause
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms