System Interaction


StatementFunction

chdir(dirname)

Changes the name of the current directory to dirname.

sleep({expr})

Causes the Perl script to sleep for expr seconds or forever if expr is not specified.

times

Returns a four-element array giving user and system CPU times in seconds for this process.

warn(list)

Prints the concatenated value of list to STDERR.

exit

Causes an immediate exit from the currently executing script.