How to Install and Uninstall liblexical-underscore-perl Package on Ubuntu 21.04 (Hirsute Hippo)
Last updated: November 05,2024
1. Install "liblexical-underscore-perl" package
Please follow the instructions below to install liblexical-underscore-perl on Ubuntu 21.04 (Hirsute Hippo)
$
sudo apt update
Copied
$
sudo apt install
liblexical-underscore-perl
Copied
2. Uninstall "liblexical-underscore-perl" package
This is a short guide on how to uninstall liblexical-underscore-perl on Ubuntu 21.04 (Hirsute Hippo):
$
sudo apt remove
liblexical-underscore-perl
Copied
$
sudo apt autoclean && sudo apt autoremove
Copied
3. Information about the liblexical-underscore-perl package on Ubuntu 21.04 (Hirsute Hippo)
Package: liblexical-underscore-perl
Architecture: all
Version: 0.004-1.1
Priority: optional
Section: universe/perl
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian Perl Group
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 30
Depends: libpadwalker-perl, perl:any
Filename: pool/universe/libl/liblexical-underscore-perl/liblexical-underscore-perl_0.004-1.1_all.deb
Size: 8288
MD5sum: 1b64b64f7ce54ff12bcb32c1387e3b68
SHA1: 12d9ab7c1882f380d273d76b2041594cd5ced98e
SHA256: 37dc67b55d96ea3d037df7ef9c321393784b1c4d73986e43ce4ba5e410652a10
SHA512: a6b6664c194a2a820b202103351ed3597621ae2d2b324c1dcf7be829ccb18ae792f6a860f23a5239e7c8ebf0e2e5558079d5a3b39542339fbf900b1b17f18be6
Homepage: http://search.cpan.org/dist/lexical-underscore/
Description-en: 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()}
Description-md5: 2dfb0364afbd1442ae6d05f3dd305d71
Architecture: all
Version: 0.004-1.1
Priority: optional
Section: universe/perl
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian Perl Group
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 30
Depends: libpadwalker-perl, perl:any
Filename: pool/universe/libl/liblexical-underscore-perl/liblexical-underscore-perl_0.004-1.1_all.deb
Size: 8288
MD5sum: 1b64b64f7ce54ff12bcb32c1387e3b68
SHA1: 12d9ab7c1882f380d273d76b2041594cd5ced98e
SHA256: 37dc67b55d96ea3d037df7ef9c321393784b1c4d73986e43ce4ba5e410652a10
SHA512: a6b6664c194a2a820b202103351ed3597621ae2d2b324c1dcf7be829ccb18ae792f6a860f23a5239e7c8ebf0e2e5558079d5a3b39542339fbf900b1b17f18be6
Homepage: http://search.cpan.org/dist/lexical-underscore/
Description-en: 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()}
Description-md5: 2dfb0364afbd1442ae6d05f3dd305d71