SPVM::Native::Env(3)
π 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::RuntimeNative::Stack
π Copyright & License π
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
- 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