rlib - manipulate @INC at compile time with relative paths


rlib documentation  | view source Contained in the rlib distribution.

Index


NAME

Top

rlib - manipulate @INC at compile time with relative paths

SYNOPSIS

Top

    use rlib LIST;

    no rlib LIST;

DESCRIPTION

Top

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

Top

lib - module which adds paths to @INC

FindBin - module for locating script bin directory

AUTHOR

Top

Graham Barr <gbarr@pobox.com>


rlib documentation  | view source Contained in the rlib distribution.