Including Perl directory in the PATH statement

If you installed Perl in the home directory for the IBM® Product Master user, you must prefix the \bin directory of the directory where you installed Perl to the PATH statement. This directory must be first on the PATH statement so that this installation of Perl is found before any other installation of Perl.

Procedure

  1. Edit the .bashrc file for the IBM Product Master user.
  2. Add the following statement to this .bashrc file:
    PATH={mdmhome}/perl/bin:$PATH

    Replace mdmhome with the home directory for the IBM Product Master user.

  3. Save the .bashrc file.
  4. Update the current shell by running the same statement:
    PATH={mdmhome}/perl/bin:$PATH

    Replace mdmhome with the home directory for the IBM Product Master user.