SPVM::CallerInfo(3)
π Name π
okay so this is SPVM::CallerInfo(3) β from the User Contributed Perl Documentation β and it's the SPVM class for Information about a Caller. The official one-liner is SPVM::CallerInfo - Information about a Caller, and yes, that's the whole name vibe. π«Ά
πΈ Description πΈ
The CallerInfo class in SPVM represents information about a caller, such as the method absolute name, the file name, and the line number. That's literally it β it's the little info packet for a caller. β¨
π¦ Usage π¦
Bestie, here's the example exactly as it appears β setters first, then getters:
my $caller = CallerInfo->new;
# Setters
$caller->set_method_abs_name("Foo#bar");
$caller->set_file("Foo.spvm");
$caller->set_line(10);
# Getters
my $method_abs_name = $caller->method_abs_name;
my $file = $caller->file;
my $line = $caller->line;
π Details π
This class is automatically loaded. π No cap, you don't have to manually load it.
β¨ Fields β¨
method_abs_name
"has method_abs_name : rw string;"
The absolute name of the method of the caller. π―
note bestie: for native methods, this field may contain a C-level function name such as SPVM__Foo__bar.
file
"has file : rw string;"
The file name where the caller is located. π
line
"has line : rw int;"
The line number where the caller is located. π’
π Class Methods π
new
"static method new : CallerInfo ();"
Creates a new CallerInfo object and returns it. Slay. π
π Copyright & License π
Copyright (c) 2026 Yuki Kimoto
MIT License
Okay bye bestie β this was SPVM::CallerInfo(3) from 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