Name

SPVM::CommandInfo - Command Line Information

Usage

use CommandInfo;

Description

CommandInfo in SPVM has methods to get command line information such as a program name and arguments.

Class Variables

PROGRAM_NAME

our $PROGRAM_NAME : ro string;

A program name when the program starts.

ARGV

our $ARGV : ro string[];

Comand line arguments passed when the program starts.

BASETIME

our $BASETIME : ro long;

The time when the program starts. This is the same as Perl $^T.

WARNING

our $WARNING : ro byte;

A warning flag.

Class Methods

BASE_TIME

Deprecated

method BASE_TIME : long ();

Returns the value of "BASETIME" field.

Copyright & License

Copyright (c) 2023 Yuki Kimoto

MIT License