Net::G...figData(3pm)

πŸ“¦ version 0.11, in alpine 3.24

πŸ’– 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