Letter P

perl-lexical-underscore - Access your caller's lexical underscore

Website: http://search.cpan.org/dist/lexical-underscore/
License: (GPL+ or Artistic) and Public Domain
Vendor: Alcance Libre, Inc.
Description:
Starting with Perl 5.10, it is possible to create a lexical version of the
Perl default variable $_.

It is occasionally useful for a subroutine 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.

The "lexical::underscore" function returns a scalar reference to either
a lexical $_ variable somewhere up the call stack (using PadWalker magic), or
to the global $_ if there was no lexical version.

Packages

perl-lexical-underscore-0.004-4.fc14.al.noarch [16 KiB] Changelog by Fedora Release Engineering (2018-02-09):
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild

Listing created by Repoview-0.6.6-6.fc14.al