Last updated July 30, 2001
Perl is a programming language optimized
for string handling and combines the best features of C, sed, awk, and sh.
Perl also does well in system management, networking, and web applications.
Perl is extremely popular, and its passionate adherents have assembled a vast
collection of free software at the Comprehensive
Perl Archive Network.
This distribution is unsupported freeware that has been ported and packaged
by HP for use on MPE/iX. This software has been minimally tested. HP does not
guarantee updates or problem fixes for this freeware.
This software comes with MPE installation scripts, MPE installation
instructions, binaries, additional files needed to run the software, and
The following prerequisites apply to this distribution of Perl:
- MPE/iX 6.0 or greater. This software has not been tested on
versions earlier than 6.0.
- Approximately 325000 sectors of available disk space.
- Perl has been linked to use the shared libraries /lib/*.sl and
/usr/lib/*.sl; if these libraries are missing or have restrictive
permissions then Perl will not run. These libraries are a standard
part of MPE FOS starting with 6.0. If for some reason you are
missing these libraries, you can recreate them by logging on as
MANAGER.SYS and then running the shell script
Downloading the software
- Download the software from the resulting list of links.
- Upload the software to your HP e3000 as a POSIX bytestream file named
Installing the software
- :HELLO MANAGER.SYS
- :XEQ SH.HPBIN.SYS -L
- cd /tmp
- tar xvfopz /tmp/perl.tar.Z INSTALL
- Optionally edit the /tmp/INSTALL script to choose a non-random
account password, non-system volume set, etc.
- /tmp/INSTALL (i.e. run the INSTALL script)
- The software will be installed into the PERL account.
All files reside in the PERL account. This distribution consists solely of
the base Perl distribution, and does not include any bundled add-on modules such
as mod_perl, etc.
Perl uses its own multi-versioning scheme to facilitate updates without
destroying previous versions. Key files in the top-level directory have version
number suffixes, and the lib subdirectory has version number branches. These
version number items are not purged by updates, so it is up to you to manually
remove them once you are satisfied that an update is operating properly.
The main files and directories of this distribution are as follows:
- The Perl interpreter NMPRG for the most recently installed update.
- Directory tree containing all of Perl's built-in functions and
modules along with whatever add-on modules you have installed.
- Directory containing man page documentation, suitable for adding
to the MANPATH environment variable.
- Directory containing various support files for compiling and
packaging this distribution on MPE.
- Symbolic link pointing to the active Perl interpreter NMPRG.
Your own Perl scripts should use this name for the interpreter,
i.e. the first line of your scripts should be "#!/PERL/PUB/perl".
- Directory containing the Perl source code. All changes required
for MPE have been submitted back to the Perl developers and
incorporated into the official Perl source code that is available
from perl.com. Any MPE changes not yet available from perl.com
are included in a diff file in this same directory.
Compiling the software
This distribution contains pre-compiled binaries that are ready to run, so
compiling is not required. However, if you would like to compile it yourself,
just follow these steps:
- Obtain and install the latest version of the GNU gcc bundle from
- :HELLO MGR.PERL
- :XEQ SH.HPBIN.SYS -L
- cd src/perl-*
- ./Configure -de
- make test
- make install
Integration with MPE/iX
A few MPE-specific modules are starting to become available for Perl. The
following is a partial list; none of these are bundled with this distribution,
so if you want to play with them you'll have to download and build them
- Ken Hirsch's interface for MPE/iX JCWs, CI variables, and the
HPCICOMMAND intrinsic. Please see
Invent3k Ken Hirsch
for more info.
- Dave Oksner's (formerly Ted Ashton's) interface for MPE/iX
TurboIMAGE databases. Please see
for more info.
For further information
- The official Perl web site of
- Information about older versions of Perl for MPE/iX can be found at
- The HP3000-L mailing list where you can talk with other users of
Perl on MPE: