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

[email protected]
Newsgroups gmane.linux.debian.devel.perl
Message-ID <Y+Q9ZadOWRPBAzWl__14960.5477739655$1675902452$gmane$org@deb12>
Package: wnpp
Owner: Mason James <[email protected]>
Severity: wishlist
X-Debbugs-CC: [email protected], [email protected]

* 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.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.