Resources Downloads Account Logout Contact
 
Package Internals
Perl, Python Module Search Path
 

Perl 5.8.6 module search path

Perl has been updated to read a configuration file containing a list of module search paths, /opt/TWWfsw/perl586/etc/include.paths. The module search path is augmented by prepending the paths in this file to the default Perl search path. In taint mode, usage of this file is disabled.

The default search path is:

  $ /opt/TWWfsw/perl586/bin/perl -V
  ...
    @INC:
      /opt/TWWfsw/perl586p/vendor/lib/5.8.6/PA-RISC1.1-thread-multi
      /opt/TWWfsw/perl586p/vendor/lib/5.8.6
      /opt/TWWfsw/perl586p/vendor/lib
      /opt/TWWfsw/perl586p/lib/5.8.6/PA-RISC1.1-thread-multi
      /opt/TWWfsw/perl586p/lib/5.8.6
      /opt/TWWfsw/perl586p/lib
      /opt/TWWfsw/perl586/lib/5.8.6/PA-RISC1.1-thread-multi
      /opt/TWWfsw/perl586/lib/5.8.6
      .

To prepend additional site-specific paths to this list, update /opt/TWWfsw/perl586/etc/include.paths with the list of additional paths to search:

  $ cat /opt/TWWfsw/perl586/etc/include.paths
  /opt/site/perl586/modules
  /opt/site/perl586/user.modules
  $ /opt/TWWfsw/perl586/bin/perl -V
  ...
    @INC:
      /opt/site/perl586/modules
      /opt/site/perl586/user.modules
      /opt/TWWfsw/perl586p/vendor/lib/5.8.6/PA-RISC1.1-thread-multi
      /opt/TWWfsw/perl586p/vendor/lib/5.8.6
      /opt/TWWfsw/perl586p/vendor/lib
      /opt/TWWfsw/perl586p/lib/5.8.6/PA-RISC1.1-thread-multi
      /opt/TWWfsw/perl586p/lib/5.8.6
      /opt/TWWfsw/perl586p/lib
      /opt/TWWfsw/perl586/lib/5.8.6/PA-RISC1.1-thread-multi
      /opt/TWWfsw/perl586/lib/5.8.6
      .

Python 2.3.5 module search path

Python has been updated to read a configuration file containing a list of module search paths, /opt/TWWfsw/python235/etc/include.paths. The module search path is augmented by prepending the paths in this file to the default Perl search path.

The default search path is:

  $ /opt/TWWfsw/python235/bin/python
  >>> import sys
  >>> for p in sys.path:
  >>>   print p
  /opt/TWWfsw/python235/lib/python2.3
  /opt/TWWfsw/python235/lib/python2.3/plat-sunos5
  /opt/TWWfsw/python235/lib/python2.3/lib-tk
  /opt/TWWfsw/python235/lib/python2.3/lib-dynload
  /opt/TWWfsw/python235/lib/python2.3/site-packages
  /opt/TWWfsw/python235p/lib/python2.3/site-packages
  /opt/TWWfsw/python235p/lib/site-python

To prepend additional site-specific paths to this list, update /opt/TWWfsw/python235/etc/include.paths with the list of additional paths to search:

  $ cat /opt/TWWfsw/python235/etc/include.paths
  /opt/site/python235/modules
  /opt/site/python235/user.modules
  $ /opt/TWWfsw/python235/bin/python
  >>> import sys
  >>> for p in sys.path:
  >>>   print p
  /opt/site/python235/modules
  /opt/site/python235/user.modules
  /opt/TWWfsw/python235/lib/python2.3
  /opt/TWWfsw/python235/lib/python2.3/plat-sunos5
  /opt/TWWfsw/python235/lib/python2.3/lib-tk
  /opt/TWWfsw/python235/lib/python2.3/lib-dynload
  /opt/TWWfsw/python235/lib/python2.3/site-packages
  /opt/TWWfsw/python235p/lib/python2.3/site-packages
  /opt/TWWfsw/python235p/lib/site-python
 
Resources
Release Notes
Getting Started
Package Utilities Suite
Package Internals
Mirroring Repository
GPG Public Key
 
Package Internals
Installation Directories
Package Names
Startup Scripts
GCC Runtime Directory
Perl, Python Module Search Path