File: control

package info (click to toggle)
libdir-self-perl 0.11-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, buster, sid
  • size: 88 kB
  • ctags: 4
  • sloc: perl: 40; makefile: 2
file content (25 lines) | stat: -rw-r--r-- 1,150 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
Source: libdir-self-perl
Section: perl
Priority: optional
Build-Depends: debhelper (>= 10)
Build-Depends-Indep: perl
Maintainer: Debian Perl Group <pkg-perl-maintainers@lists.alioth.debian.org>
Uploaders: gregor herrmann <gregoa@debian.org>
Standards-Version: 3.9.4
Homepage: https://metacpan.org/release/Dir-Self
Vcs-Git: https://anonscm.debian.org/git/pkg-perl/packages/libdir-self-perl.git
Vcs-Browser: https://anonscm.debian.org/cgit/pkg-perl/packages/libdir-self-perl.git
Testsuite: autopkgtest-pkg-perl

Package: libdir-self-perl
Architecture: all
Depends: ${misc:Depends}, ${perl:Depends}
Description: module providing a __DIR__ constant for the directory of the source file
 Perl has two pseudo-constants describing the current location in your source
 code, __FILE__ and __LINE__. Dir::Self adds __DIR__, which expands to the
 directory your source file is in, as an absolute pathname.
 .
 This is useful if your code wants to access files in the same directory, like
 helper modules or configuration data. This is a bit like FindBin except it's
 not limited to the main program, i.e. you can also use it in modules. And it
 actually works.