libdir-self-perl_0.11-1_all.deb


Advertisement

Description

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: ftp.br.debian.org
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.

Alternatives

Requires

    Download

    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

    Files

    • /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/Self.pm

    Changelog

    2013-09-16 - Florian Schlichting <fsfs@debian.org> 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://anonscm.debian.org) * Change search.cpan.org based URIs to metacpan.org 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 <gregoa@debian.org> libdir-self-perl (0.10-1) unstable; urgency=low * Initial release (closes: #600397).

    Advertisement
    Advertisement