[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1030910: ITP: libfile-findlib-perl -- find and use a file/dir from a directory above your script file



Package: wnpp
Owner: Mason James <mtj@kohaaloha.com>
Severity: wishlist
X-Debbugs-CC: debian-devel@lists.debian.org, debian-perl@lists.debian.org

* Package name    : libfile-findlib-perl
  Version         : 0.001004
  Upstream Author : Tye McQueen
* URL             : https://metacpan.org/release/File-FindLib
* License         : Unlicense
  Programming Lang: Perl
  Description     : find and use a file/dir from a directory above your script file

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

The package will be maintained under the umbrella of the Debian Perl Group.

--
Generated with the help of dpt-gen-itp(1) from pkg-perl-tools.


Reply to: