perl-Acme-Lambda-0.03-alt1.noarch.rpm


Advertisement

Description

perl-Acme-Lambda - Perl with lambdas!

Distribution: ALT Linux Sisyphus
Repository: Autoimports noarch
Package name: perl-Acme-Lambda
Package version: 0.03
Package release: alt1
Package architecture: noarch
Package type: rpm
Installed size: 1.50 KB
Download size: 1.50 KB
Official Mirror: ftp.altlinux.org
Acme::Lambda brings the power of lambda to perl! It exports lambda and .O subroutines that take a code block and return it. use Acme::Lambda; my $square = lambda { $_ * $_ }; print $square->(4); # 16 use utf8; my $cube = .O {$_ * $_ * $_}; print $cube->(3); # 27 my $add = lambda {$_[0] + $_[1] } ; print $add->(3,4); # 7

Alternatives

Requires

Provides

  • perl(Acme/Lambda.pm) = 0.030
  • perl-Acme-Lambda = 0.03-alt1

    Install Howto

    1. Add the following line to /etc/apt/sources.list:
      rpm [Sisyphus] http://ftp.altlinux.org/pub/distributions/ALTLinux/autoimports/Sisyphus noarch autoimports
      rpm [Sisyphus] http://ftp.altlinux.org/pub/distributions/ALTLinux/autoimports/Sisyphus noarch autoimports
      
    2. Update the package index:
      # sudo apt-get update
    3. Install perl-Acme-Lambda rpm package:
      # sudo apt-get install perl-Acme-Lambda

    Files

    • /usr/share/perl5/Acme/Lambda.pm
    Advertisement
    Advertisement