./devel/p5-Dir-Self, Perl 5 __DIR__ constant for source files directory

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: pkgsrc-2011Q1, Version: 0.10nb1, Package name: p5-Dir-Self-0.10nb1, Maintainer: pkgsrc-users

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


Required to run:
[lang/perl5]

Master sites: (Expand)

SHA1: 30df1ac983c06d5eaea6d450701b86f13fc94700
RMD160: 221d045cdd063b06e97647c1e443caa379773fd7
Filesize: 2.334 KB

Version history: (Expand)