SPVM::Countable(3)
π Name π
Okay so welcome to the SPVM::Countable(3) manual page, bestie β this is the User Contributed Perl Documentation moment, and the manual name is SPVM::Countable: the Countable Interface π
β¨ Usage β¨
Here's the exact usage snippet, character for character β do not come for me:
class Point {
interface Countable;
has elements : int[]
method length : string () {
my $length = @{$self->{elements}};
return $length;
};
}
π« Description π«
So Countable in SPVM is the interface for countable classes. That's the vibe, periodt. π
πΈ Interface Methods πΈ
π¦ to_string π¦
The required method signature is literally:
"required method length : int ();"
It's meant to return the length of the elements. π«Ά
π Copyright & License π
Copyright (c) 2023 Yuki Kimoto
MIT License
SPVM::Countable(3) was brought to you by perl v5.42.2, dated 2026-02-03 β mwah πβ¨
π¦ 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