File::FindLib starts in the directory where your script (or library) is
located and looks for the file or directory whose name you pass in. If it
isn't found, then FindLib looks in the parent directory and continues moving
up parent directories until it finds it or until there is not another parent
directory.
.
If it finds the named path and it is a directory, then it prepends it to
@INC. That is,
.
use File::FindLib 'lib';
.
is roughly equivalent to:
.
use File::Basename qw< dirname >;
use lib dirname(__FILE__) . '/../../../lib';
Installed Size: 29.7 kB
Architectures: all