SPVM::E...::Class(3)
π Name π
Okay bestie, you're on the SPVM::ExchangeAPI::Class(3) page β the header shows SPVM::E...::Class(3), and yes, it's part of the User Contributed Perl Documentation. The name line is SPVM::ExchangeAPI::Class β Class Object β¨
π¦ Description π¦
So "SPVM::BlessedObject::Class" is a class object to call class methods. That's literally the description, bestie β no cap π
πΈ Usage πΈ
Here's the direct construction vibe, exactly the same as Int->__new(1) in the SPVM language:
# The same as the Int->__new(1) in the SPVM language
my $class = SPVM::ExchangeAPI::Class->__new(__name => 'Int', __api => $api);
my $value = $class->new(1);
It is easy to use SPVM::ExchangeAPI#class β look:
my $class = $api->class('Int');
$class->new(1);
π Fields π
__name
my $name = $self->__name;
$self->__name($name);
Gets and sets a class name.
__api
my $api = $self->__api;
$self->__api($api);
Gets and sets a SPVM::ExchangeAPI object.
π Class Methods π
__new
my $class = SPVM::ExchangeAPI::Class->__new(%options);
Creates a new "SPVM::ExchangeAPI::Class" object.
Options:
__name: string β A class name__api: SPVM::ExchangeAPI β ASPVM::ExchangeAPIobject
β Instance Methods β
AUTOLOAD
$class->foo(@args);
Calls SPVM::ExchangeAPI#call_method using the "__name" field and the method name given in the "AUTOLOAD" method. Slay.
π Copyright & License π
Copyright (c) 2023 Yuki Kimoto
MIT License
That's the whole page, bestie π«Ά. This manual was rendered by perl v5.42.2 on 2026-02-03, and the page tag is SPVM::E...::Class(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