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.
| System | Port | Version | Vulnerabilities | Status | Maintainer | Last update |
|---|---|---|---|---|---|---|
| MidnightBSD | devel/p5-Dir-Self | 0.11 newest | no data | - | [email protected] | - |
| FreeBSD | devel/p5-Dir-Self | 0.11_1 newest | none known | - | [email protected] | - |
| OpenBSD | devel/p5-Dir-Self | 0.11p0 newest | no data | - | The OpenBSD ports mailing-list <[email protected]> | - |
| NetBSD | devel/p5-Dir-Self | 0.11nb12 newest | none known | - | [email protected] | 2026-07-16 |
| DragonFly | devel/p5-Dir-Self | 0.11_1 newest | none known | - | [email protected] | - |
| HardenedBSD | devel/p5-Dir-Self | 0.11_1 newest | no data | - | [email protected] | - |
| GhostBSD | devel/p5-Dir-Self | 0.11_1 newest | no data | - | [email protected] | - |
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
| File | Size | SHA256 |
|---|---|---|
| Dir-Self-0.11.tar.gz | 3361 | e251a51abc7d9ba3e708f73c2aa208e09d47a0c528d6254710fa78cc8d6885b5 |
Master sites 1
- CPAN