liblexical-underscore-perl_0.003-1_all.deb


Advertisement

Description

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

Distribution: Debian 8 (Jessie)
Repository: Debian Main i386
Package name: liblexical-underscore-perl
Package version: 0.003
Package release: 1
Package architecture: all
Package type: deb
Installed size: 25 B
Download size: 10.96 KB
Official Mirror: ftp.br.debian.org
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()}

    Download

    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

    Files

    • /usr/share/doc/liblexical-underscore-perl/CREDITS
    • /usr/share/doc/liblexical-underscore-perl/README
    • /usr/share/doc/liblexical-underscore-perl/buildinfo_all.gz
    • /usr/share/doc/liblexical-underscore-perl/changelog.Debian.gz
    • /usr/share/doc/liblexical-underscore-perl/changelog.gz
    • /usr/share/doc/liblexical-underscore-perl/copyright
    • /usr/share/man/man3/lexical::underscore.3pm.gz
    • /usr/share/perl5/lexical/underscore.pm

    Changelog

    2014-10-14 - Jonas Smedegaard <dr@jones.dk> 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 control.in 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 www.cpan.org and metacpan.org (not search.cpan.org) in watch file, and www.cpan.org (not specific CPAN instance cpan.metacpan.org) as get-orig-soruce URL in rules. [ Salvatore Bonaccorso ] * Update Vcs-Browser URL to cgit web frontend

    2013-03-11 - Jonas Smedegaard <dr@jones.dk> liblexical-underscore-perl (0.001-1) unstable; urgency=low * Initial packaging release. Closes: bug#702819.

    Advertisement
    Advertisement