| rlib documentation | view source | Contained in the rlib distribution. |
rlib - manipulate @INC at compile time with relative paths
use rlib LIST;
no rlib LIST;
rlib works in the same way as lib, except that all paths in LIST
are treated as relative paths.
If rlib is used from the main package then the paths in LIST
are assumed to be relative to where the current script $0 is
located. This is done by using the FindBin package.
If rlib is used from within any package other tha main then the
paths in LIST are assumed to be relative to the root of the library
where the file for that package was found.
If LIST is empty then "../lib","lib" is assumed.
lib - module which adds paths to @INC
FindBin - module for locating script bin directory
Graham Barr <gbarr@pobox.com>
| rlib documentation | view source | Contained in the rlib distribution. |