SPVM::CommandInfo(3)

πŸ“¦ version 0.990125, in alpine 3.24

πŸ’– SPVM::CommandInfo β€” Command Line Information πŸ’–

okay bestie, welcome to the SPVM::CommandInfo(3) page β€” it's giving User Contributed Perl Documentation realness, and it's all about command line info. no cap, this module is here to hand you the program name, the args, and a couple of runtime details. let's get into it. 🫢


πŸŽ€ Name πŸŽ€

SPVM::CommandInfo - Command Line Information

✨ Usage ✨

drop this in and you're in, bestie:

use CommandInfo;

πŸ¦‹ Description πŸ¦‹

okay so CommandInfo in SPVM has methods to get command line information such as a program name and arguments. literally that's the vibe: command line info, served fresh. πŸ’…

πŸ‘‘ Class Variables πŸ‘‘

these are the class variables, bestie β€” each one has its exact : ro declaration below, no cap. ✨

🌸 PROGRAM_NAME 🌸

our $PROGRAM_NAME : ro string;

a program name when the program starts. iconic. πŸŽ€

🌈 ARGV 🌈

our $ARGV : ro string[];

the command line arguments passed when the program starts. iykyk β€” this is where the args are. 🫢

⭐ BASETIME ⭐

our $BASETIME : ro long;

the time when the program starts. this is the same as Perl $^T. no cap. ⏰

πŸ’€ WARNING πŸ’€

our $WARNING : ro byte;

a warning flag. simple, but important. πŸ‘‘

πŸ’… Class Methods πŸ’…

🧚 BASE_TIME 🧚

⚠️ Deprecated, bestie. it's still in the doc, but it's giving legacy era.

method BASE_TIME : long ();

returns the value of BASETIME field. yes, the method is BASE_TIME and the field is BASETIME β€” don't mix 'em up, bestie. πŸ’–

Copyright (c) 2023 Yuki Kimoto

MIT License


πŸ’Œ okay that's the whole page: signed off by perl v5.42.2, dated 2026-02-03, and filed under SPVM::CommandInfo(3). mwah πŸ’‹βœ¨

πŸ“¦ where this page comes from