Perl programming on mMPE/iX - August 2001

HP World Page 21August 21, 2001
predefined variables - a partial list
$| or $OUTPUT_AUTOFLUSH
By default, all Perl output is buffered (0). To enable automatic
flushing, set this variable to 1. Needed when doing MPE I/O which
is usually unbuffered.
$$ or $PID
POSIX PID of the current process
$^O or $OSNAME
operating system name (mpeix)
@ARGV
script parameters if any
%ENV or $ENV{varname}
accesses the POSIX environment variables