NAME
mylib - add private lib to the module search path
SYNOPSIS
use
mylib;
DESCRIPTION
This is just a convenient wrapper around FindBin and lib that will prepend the lib directory either found in the directory of the script or its parent directory. If neither of these locations contain a lib directory it will die.
The following variables can be imported:
$Prefix
-
This is the directory where the lib directory is found.
$Lib
-
This is the same as
"$Prefix/lib"
. $Bin
-
This is the same as
$FindBin::Bin
.
COPYRIGHT
Copyright 2008 Gisle Aas.
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.