- z/OS V2R1 and above
- z196 and above
- z/OS UNIX with Enhanced ASCII activated
- Set environment variables
- Run the install.sh script to generate
.env
file. - Then, source the
.env
file:
- Run the install.sh script to generate
. $PERL_INSTALL_DIR/.env
- Run
perl --version
to verify that the correct version is installed - Run a Perl "Hello World" program:
- Create a
hello.perl
file with the following contents:
print("Hello, World!\n");
- Run
perl hello.perl