liblexical-underscore-perl - access your caller's lexical underscore

Property Value
Distribution Debian 10 (Buster)
Repository Debian Main i386
Package filename liblexical-underscore-perl_0.004-1_all.deb
Package name liblexical-underscore-perl
Package version 0.004
Package release 1
Package architecture all
Package type deb
Category devel::lang:perl devel::library implemented-in::perl perl
License -
Maintainer Debian Perl Group <>
Download size 11.32 KB
Installed size 29.00 KB
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:


Package Version Architecture Repository
liblexical-underscore-perl_0.004-1_all.deb 0.004 all Debian Main
liblexical-underscore-perl - - -


Name Value
libpadwalker-perl -
perl -


Type URL
Binary Package liblexical-underscore-perl_0.004-1_all.deb
Source Package liblexical-underscore-perl

Install Howto

  1. Update the package index:
    # sudo apt-get update
  2. Install liblexical-underscore-perl deb package:
    # sudo apt-get install liblexical-underscore-perl




2017-02-01 - Jonas Smedegaard <>
liblexical-underscore-perl (0.004-1) unstable; urgency=medium
[ upstream ]
* New release.
+ Fix for Perl >= 5.24, where lexical $_ no longer exists.
[ Jonas Smedegaard ]
* Update watch file: Tighten version regex.
* Modernize Vcs-* fields:
+ Use git subdir (not cgit).
+ Add .git suffix for Vcs-Git URL.
* Stop override lintian for
package-needs-versioned-debhelper-build-depends: Fixed in lintian.
* Update copyright info:
+ Extend coverage for main upstream author.
+ Extend coverage of Debian packaging.
* Drop patch 1001 fixed upstream.
2016-09-14 - Jonas Smedegaard <>
liblexical-underscore-perl (0.003-2) unstable; urgency=medium
* Update watch file:
+ Bump to version 4.
+ Use only MetaCPAN URL.
+ Mention gpb in usage comment.
* Stop track upstream source with CDBS (use gpb --uscan).
* Modernize git-buildpackage config: Filter any .git* file.
* Declare compliance with Debian Policy 3.9.8.
* Modernize Vcs-Git field: Use https protocol URL.
* Bump debhelper compatibility level to 9.
* Add lintian override regarding debhelper 9.
* Update copyright info:
+ Use License-Grant and License-Reference fields. Thanks to Ben Finney.
+ Extend coverage of packaging to include current year.
* Add lintian override regarding license in License-Reference field.
See bug#786450.
* Add patch 1001 to avoid lexical underscore.
Closes: Bug#825524. Thanks to Niko Tyni.
* Build-depend on licensecheck (not devscripts).
2014-10-14 - Jonas Smedegaard <>
liblexical-underscore-perl (0.003-1) unstable; urgency=medium
[ upstream ]
* New release(s).
+ Switch packaging to Dist::Inkt.
+ Restore dynamic config which adds PadWalker to dependencies when
Perl >= 5.9.0.
[ Jonas Smedegaard ]
* Add README.source emphasizing file as *not* a
show-stopper for contributions, referring to wiki page for details.
* Add alternate git source URL.
* Update Vcs-Git to use canonical URL.
* Declare compliance with Debian Policy 3.9.6.
* Drop patch 1001: No Unneeded with current upstream packaging.
* Stop track md5sum of upstream tarball.
* Update copyright info:
+ Extend coverage for myself to include current year.
+ Drop coverage of no longer included convenience code copies.
+ Extend coverage for main upstream author to include current year.
* Use and (not in watch
file, and (not specific CPAN instance as get-orig-soruce URL in rules.
[ Salvatore Bonaccorso ]
* Update Vcs-Browser URL to cgit web frontend
2013-03-11 - Jonas Smedegaard <>
liblexical-underscore-perl (0.001-1) unstable; urgency=low
* Initial packaging release.
Closes: bug#702819.

See Also

Package Description
liblexical-var-perl_0.009-3+b4_i386.deb Perl module for using static variables without namespace pollution
liblfc-dev_1.10.0-2+b3_i386.deb LFC development libraries and header files
liblfc-perl_1.10.0-2+b3_i386.deb LCG File Catalog (LFC) perl bindings
liblfc1_1.10.0-2+b3_i386.deb LCG File Catalog (LFC) libraries
liblfunction-dev_1.23+dfsg-11_i386.deb development files for liblfunction
liblfunction0_1.23+dfsg-11_i386.deb library for calculating with L-functions
liblgooddatepicker-java-doc_8.3.0+ds-1_all.deb Documentation for the LGoodDatePicker library
liblgooddatepicker-java_8.3.0+ds-1_all.deb Java Swing Date Picker library
liblhasa-dev_0.3.1-3_i386.deb lzh decompression library - development files
liblhasa0_0.3.1-3_i386.deb lzh archive decompression library
liblib-abs-perl_0.93-1_all.deb module to make relative path absolute to caller
liblibrary-callnumber-lc-perl_0.23-1_all.deb utility functions to deal with Library-of-Congress call numbers
liblibreofficekitgtk_6.1.5-3_i386.deb GTK3 widget wrapping LibreOffice functionality
liblief-dev_0.9.0-1+b11_i386.deb Library to Instrument Executable Formats -- development files
liblief0_0.9.0-1+b11_i386.deb Library to Instrument Executable Formats