NAME

rlib - manipulate @INC at compile time with relative paths

SYNOPSIS

use rlib LIST;

no rlib LIST;

DESCRIPTION

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.

SEE ALSO

lib - module which adds paths to @INC

FindBin - module for locating script bin directory

AUTHOR

Graham Barr <gbarr@pobox.com>