SPVM::Stringer(3)

πŸ“¦ version 0.990125, in alpine 3.24

🌸 NAME 🌸

okay so this is the manual page for SPVM::Stringer(3), bestie πŸ¦‹ β€” a User Contributed Perl Documentation moment, fr fr.

SPVM::Stringer β€” Interface Type for Stringing Callback πŸ’–

✨ USAGE ✨

Here’s the whole plan in code, no cap:

use Stringer;
use Point;

my $stringer = (Stringer)method : string ($object : object) {
  my $point = (Point)$object;

  my $string = $point->to_string;

  return $string;
};

my $point = Point->new(1, 2);
my $string = $stringer->($point);

πŸ¦‹ DESCRIPTION πŸ¦‹

Stringer is the interface type for the stringing callback πŸ’…. That’s it β€” that’s the whole assignment, and it’s iconic.

πŸŽ€ INTERFACE METHODS πŸŽ€

🫢 required method : string ($object : object) 🫢

The implementation must receive an object and return the string that represents the object 🫢. No shortcuts, bestie β€” this is the required method signature, iykyk.

  • Copyright (c) 2023 Yuki Kimoto
  • MIT License

okay bye bestie πŸ’– β€” source/version is perl v5.42.2, dated 2026-02-03, and this is the SPVM::Stringer(3) manual page. slay ✨

πŸ“¦ where this page comes from