Perl programming on MPE/iX - February 2001
February 9, 2001
Solution Symposium
Page 21
hp e3000
perl
programming
predefined variables
• $| 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