SPVM::Double(3)

πŸ“¦ version 0.990125, in alpine 3.24

πŸŽ€ Name πŸŽ€

Okay bestie, this is SPVM::Double(3) from the User Contributed Perl Documentation manual, and it is literally A double value as An Object. No cap: SPVM::Double is the star of this page.

✨ Description ✨

The Double class in SPVM represents a double value as an object. It’s giving β€œtiny little wrapper with main character energy” πŸ’….

🌸 Usage 🌸

my $double_object = Double->new(5);
my $double_value = $double_object->value;

πŸ¦‹ Details πŸ¦‹

This class is immutable β€” once it’s made, it stays that way, periodt.

This class is automatically loaded β€” yes, she just shows up ready to go ✨.

πŸ’– Interfaces πŸ’–

  • Stringable β€” that’s the interface on the list, iykyk πŸŽ€

πŸ“ Fields πŸ“

value πŸ‘‘

has value : ro double;

The value. That’s the whole field vibe, bestie πŸ’œ.

🌈 Class Methods 🌈

new ⭐

static method new : Double ($value : double);

Creates a new Double object with a double $value. Slay, object created πŸ’….

🧚 Instance Methods 🧚

to_string πŸŽ€

method to_string : string ();

Casts the value to string type and returns it. Cute, useful, iconic πŸ”₯.

Copyright (c) 2023 Yuki Kimoto

MIT License


πŸ’… Sign-off: perl v5.42.2, 2026-02-03, SPVM::Double(3) β€” mwah, bye bestie! 🫢

πŸ“¦ where this page comes from