Perl programming on MPE/iX - April 2002
Solution Symposium Page 6April 4, 2002
how to execute the interpreter
• From the shell: /PERL/PUB/perl [optional parameters]
• As a shell script: #!/PERL/PUB/perl [optional parameters]
• From the CI: :XEQ SH.HPBIN.SYS '-c "/PERL/PUB/perl
[optional parameters]"'
• -c - check syntax without doing execution
• -d - run the Perl debugger
• -e - specify one line of script (like sed)
• -v - print minimal version information
• -V - print verbose version information
• -w - prints VERY useful syntax and runtime warnings; everybody should
make a habit of testing their scripts with this!