libdir-self-perl - module providing a __DIR__ constant for the directory of the source file

Distribution: Debian 8 (Jessie)
Repository: Debian Main amd64
Package name: libdir-self-perl
Package version: 0.11
Package release: 1
Package architecture: all
Package type: deb
Installed size: 47 B
Download size: 6.07 KB
Official Mirror:
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.




    Source package: libdir-self-perl

    Install Howto

    1. Update the package index:
      # sudo apt-get update
    2. Install libdir-self-perl deb package:
      # sudo apt-get install libdir-self-perl


    • /usr/share/doc/libdir-self-perl/changelog.Debian.gz
    • /usr/share/doc/libdir-self-perl/changelog.gz
    • /usr/share/doc/libdir-self-perl/copyright
    • /usr/share/man/man3/Dir::Self.3pm.gz
    • /usr/share/perl5/Dir/


    2013-09-16 - Florian Schlichting <> libdir-self-perl (0.11-1) unstable; urgency=low * Team upload [ Ansgar Burchardt ] * debian/control: Convert Vcs-* fields to Git. [ Salvatore Bonaccorso ] * Change Vcs-Git to canonical URI (git:// * Change based URIs to based URIs [ Axel Beckert ] * debian/copyright: migrate pre-1.0 format to 1.0 using "cme fix dpkg- copyright" [ Florian Schlichting ] * Import Upstream version 0.11 * Update years of upstream copyright * Bump dh compatibility to level 8 * Bump Standards-Version to 3.9.4 (no change)

    2010-10-17 - gregor herrmann <> libdir-self-perl (0.10-1) unstable; urgency=low * Initial release (closes: #600397).