Debian Codegraph @

debian/control

raw
1 Source: liblib-relative-perl
2 Maintainer: Debian Perl Group <[email protected]>
3 Uploaders: gregor herrmann <[email protected]>
4 Section: perl
5 Testsuite: autopkgtest-pkg-perl
6 Priority: optional
7 Build-Depends: debhelper-compat (= 13)
8 Build-Depends-Indep: libtest-simple-perl <!nocheck>,
9 perl
10 Standards-Version: 4.6.2
11 Vcs-Browser: https://salsa.debian.org/perl-team/modules/packages/liblib-relative-perl
12 Vcs-Git: https://salsa.debian.org/perl-team/modules/packages/liblib-relative-perl.git
13 Homepage: https://metacpan.org/release/lib-relative
14 Rules-Requires-Root: no
15
16 Package: liblib-relative-perl
17 Architecture: all
18 Multi-Arch: foreign
19 Depends: ${misc:Depends},
20 ${perl:Depends}
21 Description: module to add paths relative to the current file to @INC
22 lib::relative proposes a straightforward method to add a relative path to
23 @INC: it takes a path relative to the current file, absolutizes it, and adds
24 it to @INC.
25 .
26 Adding a path to @INC to load modules from a local directory may seem simple,
27 but has a few common pitfalls to be aware of:
28 .
29 Directly adding a relative path to @INC means that any later code that
30 changes the current working directory will change where modules are loaded
31 from.
32 .
33 Additionally, the commonly used FindBin module relies on interpreter state
34 and the path to the original script invoked by the perl interpreter,
35 sometimes requiring workarounds in uncommon cases like generated or embedded
36 code.