BSD Ports

devel/p5-Dir-Self 0.11p0 OpenBSD

__DIR__ constant for the directory your source file is in

System
OpenBSD
Repository
OpenBSD ports
Maintainer
The OpenBSD ports mailing-list <[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
OpenBSDdevel/p5-Dir-Self0.11p0 newestno data-The OpenBSD ports mailing-list <[email protected]>-
FreeBSDdevel/p5-Dir-Self0.11_1 newestnone known-[email protected]-
NetBSDdevel/p5-Dir-Self0.11nb12 newestnone known-[email protected]2026-07-16
DragonFlydevel/p5-Dir-Self0.11_1 newestnone known-[email protected]-
MidnightBSDdevel/p5-Dir-Self0.11 newestno data-[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:

pkg_add p5-Dir-Self

From the ports tree:

cd /usr/ports/devel/p5-Dir-Self && make install

Dependency graph

Ports that need it on the left, what it needs to run on the right; at most 8 of each. "Dependencies" below lists them all.

Dependencies

Required by 1