Debian Codegraph @

debian/control

raw
1 Source: libfile-findlib-perl
2 Maintainer: Debian Perl Group <[email protected]>
3 Uploaders: Mason James <[email protected]>
4 Section: perl
5 Testsuite: autopkgtest-pkg-perl
6 Priority: optional
7 Build-Depends: debhelper-compat (= 13)
8 Build-Depends-Indep: perl
9 Standards-Version: 4.6.2
10 Vcs-Browser: https://salsa.debian.org/perl-team/modules/packages/libfile-findlib-perl
11 Vcs-Git: https://salsa.debian.org/perl-team/modules/packages/libfile-findlib-perl.git
12 Homepage: https://metacpan.org/release/File-FindLib
13 Rules-Requires-Root: no
14
15 Package: libfile-findlib-perl
16 Architecture: all
17 Depends: ${misc:Depends},
18 ${perl:Depends}
19 Description: module to find and use a file/dir from a directory above your script file
20 File::FindLib starts in the directory where your script (or library) is
21 located and looks for the file or directory whose name you pass in. If it
22 isn't found, then FindLib looks in the parent directory and continues moving
23 up parent directories until it finds it or until there is not another parent
24 directory.
25 .
26 If it finds the named path and it is a directory, then it prepends it to
27 @INC. That is,
28 .
29 use File::FindLib 'lib';
30 .
31 is roughly equivalent to:
32 .
33 use File::Basename qw< dirname >;
34 use lib dirname(__FILE__) . '/../../../lib';