SPVM::B...Builder(3)

πŸ“¦ version 0.990125, in alpine 3.24

πŸ’… 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 (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