SPVM::CallerInfo(3)

πŸ“¦ version 0.990125, in alpine 3.24

πŸ’– 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 (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