BSD Ports

devel/p5-Dir-Self 0.11 MidnightBSD

__DIR__ constant for the directory your source file is in

System
MidnightBSD
Repository
mports
Maintainer
[email protected]
Categories
devel, perl5

Description

Perl has two pseudo-constants describing the current location in your source code, __FILE__ and __LINE__. This module adds __DIR__, which expands to the directory your source file is in, as an absolute pathname.

In the other systems

The newest version among them is 0.11, as upstream numbers it.

SystemPortVersionVulnerabilitiesStatusMaintainerLast update
MidnightBSDdevel/p5-Dir-Self0.11 newestno data-[email protected]-
FreeBSDdevel/p5-Dir-Self0.11_1 newestnone known-[email protected]-
OpenBSDdevel/p5-Dir-Self0.11p0 newestno data-The OpenBSD ports mailing-list <[email protected]>-
NetBSDdevel/p5-Dir-Self0.11nb12 newestnone known-[email protected]2026-07-16
DragonFlydevel/p5-Dir-Self0.11_1 newestnone known-[email protected]-
HardenedBSDdevel/p5-Dir-Self0.11_1 newestno data-[email protected]-
GhostBSDdevel/p5-Dir-Self0.11_1 newestno data-[email protected]-

Compare across BSDs

Install

Binary package:

mport install p5-Dir-Self

From mports:

cd /usr/mports/devel/p5-Dir-Self && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	p5-Dir-Self>0:devel/p5-Dir-Self

Dependencies

No port depends on this one.

Configuration

No options to configure.

USES
perl5
Service scripts
none

Files

pkg-plist 2
  • %%SITE_PERL%%/Dir/Self.pm
  • %%PERL5_MAN3%%/Dir::Self.3.gz
distinfo 1
FileSizeSHA256
Dir-Self-0.11.tar.gz3361e251a51abc7d9ba3e708f73c2aa208e09d47a0c528d6254710fa78cc8d6885b5
Master sites 1
  • CPAN