SPVM::D...riables(3)

πŸ“¦ version 0.990125, in alpine 3.24

πŸŽ€ Name πŸŽ€

okay so the header on this one is SPVM::D...riables(3) and the manual name is User Contributed Perl Documentation β€” but the actual page name is SPVM::Document::EnvironmentVariables - Environment Variables. It's giving environment variable lore, bestie πŸ’…βœ¨

✨ Description ✨

This document explains environment variables. That's the whole assignment, no cap. 🫢

🌸 Environment Variables 🌸

⚠️ first vibe check: if an environment variable is an empty string, it is treated as an undefined value. Periodt.

πŸ¦‹ SPVM_BUILD_DIR πŸ¦‹

SPVM_BUILD_DIR is a directory for files generated by the compiler and linker.

C source codes for precompilation, dynamic link libraries and object files are stored into this directory.

These files are output when attempting to build a module containing methods with the native attribute or the precompile attribute.

🚨 if these files are output and the directory given by SPVM_BUILD_DIR environment variable does not exist, an exception is thrown. Like, exception city. Not a vibe.

Examples:

# bash
export SPVM_BUILD_DIR=~/.spvm_build

# csh
setenv SPVM_BUILD_DIR ~/.spvm_build

πŸ’… SPVM_CC_DEBUG πŸ’…

If SPVM_CC_DEBUG environment variable is a true value of Perl, debug messages and messages from SPVM native class compiler and linker are printed to stderr. Yep, everything goes straight to stderr, iykyk.

πŸŽ€ SPVM_CC_QUIET πŸŽ€

If SPVM_CC_QUIET environment variable is a true value of Perl, messages from the SPVM native class compiler and linker are not printed to stderr.

If it is defined and a false value of Perl, the messages are printed.

πŸ‘‘ this setting has a higher priority than SPVM::Builder::Config#quiet field. Iconic priority behavior, honestly.

πŸ”₯ SPVM_CC_FORCE πŸ”₯

If SPVM_CC_FORCE environment variable is a true value of Perl, the compilation and link by SPVM native class compiler and linker are forced.

πŸ’€ this setting has a higher priority than SPVM::Builder::Config#force field. Forced. Feral. We love to see it.

πŸ‘€ See Also πŸ‘€

  • SPVM::Document β€” the only see-also baddie on this page.

Copyright (c) 2023 Yuki Kimoto

MIT License


okay bestie, that's the whole page πŸ’– this was perl v5.42.2, dated 2026-02-03 β€” now go set your env vars and slay βœ¨πŸ’…

πŸ“¦ where this page comes from