Name
SPVM::CommandInfo - Command Line Information
Usage
use CommandInfo;
Description
CommandInfo
is a class that has command line information such as the program name and the arguments.
CommandInfo
is a SPVM class.
Class Variables
PROGRAM_NAME
our $PROGRAM_NAME : ro string;
Gets the program name. This is the same as Perl $0
.
ARGV
our $ARGV : ro string[];
Gets the comand line arguments. This is the same as Perl @ARGV
.
BASE_TIME
our $BASE_TIME : ro long;
Gets the time when the program starts. This is the same as Perl $^T
.
Copyright & License
Copyright (c) 2023 Yuki Kimoto
MIT License