SPVM::B...Builder(3)
π SPVM::B...Builder(3)
ok okay so this is a page from the User Contributed Perl Documentation corner of the world, and the star of the show is SPVM::Builder::ConfigBuilder. This is the manual entry for it β yes bestie, the whole SPVM::B...Builder(3) situation, she's got a long name and she's iconic for it. π
β¨ NAME β¨
SPVM::Builder::ConfigBuilder β literally the Config Builder. That's her whole job. π«Ά
πΈ DESCRIPTION πΈ
So SPVM::Builder::ConfigBuilder is the base class of a config builder. That's it, that's the vibe β she's the blueprint, the main character template that other config builders inherit from. No cap. π
π¦ USAGE π¦
Here's how you actually use her β copy this energy, bestie:
package SPVM::MyClass::ConfigBuilder;
use base 'SPVM::Builder::ConfigBuilder';
sub build_config {
my ($self, $config) = @_;
# Build config
}
1;
Subclass her, override build_config, done. Slay. β¨
π CLASS METHODS π
π new
my $config_builder = SPVM::Builder::ConfigBuilder->new(%options);
Creates a brand-new object β and here's the cute part: it's blessed by the class name of the invocant</blessed>... ok let me say that again properly, it's blessed by the class name of the invocant and then returned to you. So she comes into the world dressed as whoever called her. Main character energy fr fr. π
π INSTANCE METHODS π
π build_config
$config_builder->build_config($config);
Builds the config $config. π οΈ
$config is a SPVM::Builder::Config object β that's the thing getting built, keep up bestie.
β οΈ heads up: this method must be implemented in a child class. Like, the base class is not doing it for you. You gotta write it yourself. Periodt.
π EXAMPLES π
SPVM::Net::SSLeay::ConfigBuilderβ go look at this one, she understood the assignment. π₯
π COPYRIGHT & LICENSE π
Copyright (c) 2023 Yuki Kimoto
MIT License β the classic, the beloved, we stan. π
and that's the whole page bestie!! πΈ this gorgeous little manpage came to you via perl v5.42.2, dated 2026-02-03, under the title SPVM::B...Builder(3) β mwah, go build some configs πβ¨ππ¦
π¦ where this page comes from
- alpine 3.24: spvm-doc 0.990125-r0 Β· MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms