How to Install and Uninstall liblexical-underscore-perl Package on Ubuntu 16.04 LTS (Xenial Xerus)

Last updated: May 17,2024

1. Install "liblexical-underscore-perl" package

Here is a brief guide to show you how to install liblexical-underscore-perl on Ubuntu 16.04 LTS (Xenial Xerus)

$ sudo apt update $ sudo apt install liblexical-underscore-perl

2. Uninstall "liblexical-underscore-perl" package

This is a short guide on how to uninstall liblexical-underscore-perl on Ubuntu 16.04 LTS (Xenial Xerus):

$ sudo apt remove liblexical-underscore-perl $ sudo apt autoclean && sudo apt autoremove

3. Information about the liblexical-underscore-perl package on Ubuntu 16.04 LTS (Xenial Xerus)

Package: liblexical-underscore-perl
Priority: optional
Section: universe/perl
Installed-Size: 56
Maintainer: Ubuntu Developers
Original-Maintainer: Debian Perl Group
Architecture: all
Version: 0.003-1
Depends: libpadwalker-perl, perl
Filename: pool/universe/libl/liblexical-underscore-perl/liblexical-underscore-perl_0.003-1_all.deb
Size: 8400
MD5sum: e306d7edf090455b2d3e550b63691513
SHA1: 9e7fe3bf3ef1deeaa7b535ef7abdfce97228c1c7
SHA256: 72644e6102470074ece9564d80fe970622a2e9d9f1569f0965c7411e13912ba1
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
Homepage: http://search.cpan.org/dist/lexical-underscore/
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Origin: Ubuntu