SPVM::Native::Env(3)

πŸ“¦ version 0.990125, in alpine 3.24

πŸŽ€ Name πŸŽ€

SPVM::Native::Env β€” Runtime Environment. Yep bestie, this is the SPVM::Native::Env(3) page, from the User Contributed Perl Documentation, and it is lowkey iconic ✨

🌸 Description 🌸

The Native::Env class in SPVM represents an runtime environment. (That β€œan” is the original’s vibe, not mine β€” but the meaning is clear: it’s an environment for runtime stuff.)

πŸ¦‹ Usage πŸ¦‹

use Native::Env;

my $env = $runtime->new_env;

my $stack = $env->new_stack;

πŸ’… Details πŸ’…

Okay so important: this class is a pointer class. No cap.

Its insntace has the pointer to an object of SPVM_ENV type. (Yes, the original says insntace β€” a whole mood β€” but y’all know what it means πŸ’€)

πŸ‘‘ Fields πŸ‘‘

  • has runtime : ro Native::Runtime; β€” the runtime for this runtime environment. That’s the field, bestie 🫢

🧚 Instance Methods 🧚

πŸ’– DESTROY

method DESTROY : void ();

The destructor. That’s it. That’s the method. Slay.

πŸ“ new_stack

method new_stack : Native::Stack ();

Builds a call stack and returns it. The return type is Native::Stack class. Obsessed with a method that just hands you a stack, honestly.

πŸ”₯ See Also πŸ”₯

  • Native::Runtime
  • Native::Stack

Copyright (c) 2023 Yuki Kimoto

MIT License


Final sign-off, bestie: this page came from the perl v5.42.2 docs, dated 2026-02-03, and it’s SPVM::Native::Env(3) β€” mwah! πŸ’‹πŸ«Ά

πŸ“¦ where this page comes from