pkgsrc/devel/p5-Dir-Self/DESCR

5 lines
228 B
Text
Raw Normal View History

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.