SPVM::Stringable(3)
πΈ Name πΈ
This is the manual page for SPVM::Stringable(3) from the User Contributed Perl Documentation β aka SPVM::Stringable - Stringable Interface. Itβs giving very much interface energy, bestie. π
β¨
π Usage π
Okay so hereβs the literal example from the page, no cap:
class Point {
interface Stringable;
method to_string : string () {
my $x = $sel->x;
my $y = $sel->y;
my $string = "($x,$y)";
return $string;
};
}
β¨ Description β¨
In SPVM, the Stringable interface is the interface for stringable classes. Thatβs the whole vibe. If a class is stringable, this is the interface itβs serving. Iykyk. ππ¦
π Interface Methods π
Thereβs one interface method here, and sheβs required, bestie:
to_string
"required method to_string : string ();"
This one returns the string representation for the instance. Literally what it says on the tin. πβ¨
π Copyright & License π
Copyright (c) 2023 Yuki Kimoto
MIT License
okay thatβs the whole page, mwah π β this cutie came from perl v5.42.2, dated 2026-02-03, and the page is SPVM::Stringable(3) β¨π«Ά
π¦ 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