liblexical-underscore-perl 0.004-3 source package in Ubuntu
Changelog
liblexical-underscore-perl (0.004-3) unstable; urgency=medium * Team upload. * Remove Makefile.old via debian/clean. (Closes: #1046691) -- gregor herrmann <email address hidden> Wed, 06 Mar 2024 16:10:23 +0100
Upload details
- Uploaded by:
- Debian Perl Group
- Uploaded to:
- Sid
- Original maintainer:
- Debian Perl Group
- Architectures:
- all
- Section:
- misc
- Urgency:
- Medium Urgency
See full publishing history Publishing
Series | Published | Component | Section | |
---|---|---|---|---|
Oracular | release | universe | misc |
Downloads
File | Size | SHA-256 Checksum |
---|---|---|
liblexical-underscore-perl_0.004-3.dsc | 2.4 KiB | be87710974ecd4671f6ccca802c39b25252bd432a1dcf65467ad6df0c86a59d1 |
liblexical-underscore-perl_0.004.orig.tar.gz | 14.2 KiB | 6bd5d1469e161e199a9bd7fdde957e04176c5707cb059597a23ca3e130fb1134 |
liblexical-underscore-perl_0.004-3.debian.tar.xz | 4.7 KiB | 4a11d5d3af9f70241fde9e06a0b54f71a8dc7a73f03b09e082e309ea43ea3251 |
Available diffs
- diff from 0.004-2 to 0.004-3 (687 bytes)
No changes file available.
Binary packages built by this source
- liblexical-underscore-perl: access your caller's lexical underscore
Starting with Perl 5.10, it is possible to create a lexical version of
the Perl default variable $_. Certain Perl constructs like the "given"
keyword automatically use a lexical $_ rather than the global $_.
.
It is occasionallly useful for a sub to be able to access its caller's
$_ variable regardless of whether it was lexical or not. The "(_)" sub
prototype is the official way to do so, however there are sometimes
disadvantages to this; in particular it can only appear as the final
required argument in a prototype, and there is no way of the sub
differentiating between an explicitly passed argument and $_.
.
lexical::underscore allows you to access your caller's lexical $_
variable as easily as:
.
${lexical::underscore( )}