NAME

SPVM::IO::Stderr - Standard out

SYNOPSYS

use SPVM::IO::Stderr;

# Print string to stderr
SPVM::IO::Stderr->print("Hello");

DESCRIPTION

SPVM::IO::Stderr manipulate standard output stream.

STATIC METHODS

AUTO_FLUSH

sub AUTO_FLUSH : byte ()

Get auto flash flag. Default auto flush flag is 1.

SET_AUTO_FLUSH

sub SET_AUTO_FLUSH : void ($bool : byte)

Set auto flush flag.

print

sub print : void ($string : string)

Print string to stderr.

If auto flush flag(AUTO_FLUSH) is true, flush buffered data to stderr after print method call.

flush

sub flush : void ()

Flush buffered data to stderr. If error, a exception occur.