libdir-self-perl 0.10-1 source package in Ubuntu
Changelog
libdir-self-perl (0.10-1) unstable; urgency=low * Initial release (closes: #600397). -- Ubuntu Archive Auto-Sync <email address hidden> Fri, 05 Nov 2010 13:11:59 +0000
Upload details
- Uploaded by:
- Ubuntu Archive Auto-Sync
- Uploaded to:
- Natty
- Original maintainer:
- Debian Perl Group
- Architectures:
- all
- Section:
- perl
- Urgency:
- Low Urgency
See full publishing history Publishing
Series | Published | Component | Section | |
---|---|---|---|---|
Precise | release | universe | perl |
Downloads
File | Size | SHA-256 Checksum |
---|---|---|
libdir-self-perl_0.10.orig.tar.gz | 2.3 KiB | 0c4e79082f2673677f7ee131749f9eba847968ad7429208a58f481609d15962a |
libdir-self-perl_0.10-1.debian.tar.gz | 1.7 KiB | 57c484c67736fa54eb64d20c35a33401765c4983c5173c3565d5789f618f1b08 |
libdir-self-perl_0.10-1.dsc | 1.9 KiB | e879bbaae47cf02aeca46808c756107923d6d70d73bc708ac5d093c23e788150 |
Binary packages built by this source
- libdir-self-perl: module providing a __DIR__ constant for the directory of the source file
Perl has two pseudo-constants describing the current location in your source
code, __FILE__ and __LINE__. Dir::Self adds __DIR__, which expands to the
directory your source file is in, as an absolute pathname.
.
This is useful if your code wants to access files in the same directory, like
helper modules or configuration data. This is a bit like FindBin except it's
not limited to the main program, i.e. you can also use it in modules. And it
actually works.