SPVM::Long(3)

πŸ“¦ version 0.990125, in alpine 3.24

✨ Name ✨

Okay bestie, welcome to SPVM::Long(3) β€” the User Contributed Perl Documentation page for SPVM::Long, which is literally A long value as An Object. πŸ’…


πŸ’– Description πŸ’–

The Long class in SPVM is literally the whole β€œrepresent a long value as an object” situation. Iconic, honestly. πŸ¦‹


🫢 Usage 🫢

okay so you literally do this:

my $long_object = Long->new(5);
my $long_value = $long_object->value;

πŸŽ€ Details πŸŽ€

This class is immutable. No cap β€” it does not change. 🫢

This class is automatically loaded. ✨


πŸ¦‹ Interfaces πŸ¦‹

  • Stringable β€” yep, that’s the interface bestie. 🌈

🌸 Fields 🌸

value

"has value : ro long;"

The value. That’s the field. πŸ“


πŸ‘‘ Class Methods πŸ‘‘

new

"static method new : Long ($value : long);"

Creates a new Long object with a long $value. Slay. πŸ’…


πŸ’œ Instance Methods πŸ’œ

to_string

"method to_string : string ();"

Casts the value to string type and returns it. Periodt. ✨


Copyright (c) 2023 Yuki Kimoto

MIT License


okay that’s the whole page 🫢 β€” footer check: SPVM::Long(3), source/version perl v5.42.2, dated 2026-02-03. bye bestie, slay responsibly πŸ’–

πŸ“¦ where this page comes from