libfile-findlib-perl

module to find and use a file/dir from a directory above your script file

Description

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';

Upload more screenshots

Please help extend the collection of screenshots. Just make a screenshot and upload it here. You don't need to register or anything.

Upload a screenshot

Hint: upload an image here from your clipboard with Ctrl-V


Homepage

https://metacpan.org/release/File-FindLib


Install this software package

If the package is available for the distribution you are currently using on your computer then install the software by clicking on…

Install libfile-findlib-perl