SPVM::D...riables(3)
π 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 & License π
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
- 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