perl-Eval-Closure-0.130.0-4-rosa2016.1.noarch.rpm


Advertisement

Description

perl-Eval-Closure - Safely and cleanly create closures via string eval

Property Value
Distribution ROSA 2016.1
Repository ROSA Main Updates i586
Package name perl-Eval-Closure
Package version 0.130.0
Package release 4-rosa2016.1
Package architecture noarch
Package type rpm
Installed size 34.29 KB
Download size 19.77 KB
Official Mirror mirror.rosalab.ru
String eval is often used for dynamic code generation. For instance, Moose uses
it heavily, to generate inlined versions of accessors and constructors, which
speeds code up at runtime by a significant amount. String eval is not without
its issues however - it's difficult to control the scope it's used in (which
determines which variables are in scope inside the eval), and it can be quite
slow, especially if doing a large number of evals.
This module attempts to solve both of those problems. It provides an
eval_closure function, which evals a string in a clean environment, other than
a fixed list of specified variables. It also caches the result of the eval, so
that doing repeated evals of the same source, even with a different
environment, will be much faster (but note that the description is part of the
string to be evaled, so it must also be the same (or non-existent) if caching
is to work properly).

Alternatives

Package Version Architecture Repository
perl-Eval-Closure-0.130.0-4-rosa2016.1.noarch.rpm 0.130.0 noarch ROSA Main Updates
perl-Eval-Closure-0.130.0-3-rosa2016.1.noarch.rpm 0.130.0 noarch ROSA Contrib
perl-Eval-Closure-0.130.0-3-rosa2016.1.noarch.rpm 0.130.0 noarch ROSA Contrib
perl-Eval-Closure - - -

Requires

Name Value
perl(Carp) -
perl(Exporter) -
perl(Scalar::Util) -
perl(Try::Tiny) -
perl(abi) >= 5.20.3

Provides

Name Value
perl(Eval::Closure) == 0.130.0
perl-Eval-Closure == 0.130.0-4:2016.1

Download

Type URL
Binary Package perl-Eval-Closure-0.130.0-4-rosa2016.1.noarch.rpm
Source Package perl-Eval-Closure-0.130.0-4.src.rpm

Install Howto

  1. Enable ROSA Main Updates repository on Install and Remove Software
  2. Update packages list:
    # urpmi.update -a
  3. Install perl-Eval-Closure rpm package:
    # urpmi perl-Eval-Closure

Files

Path
/usr/lib/perl5/vendor_perl/5.20.3/Eval/Closure.pm
/usr/share/doc/perl-Eval-Closure/Changes
/usr/share/doc/perl-Eval-Closure/LICENSE
/usr/share/doc/perl-Eval-Closure/MANIFEST
/usr/share/doc/perl-Eval-Closure/README
/usr/share/man/man3/Eval::Closure.3pm.xz

Changelog

2017-08-22 - Denis Silakov <dsilakov@virtuozzo.com> 0.130.0-4
- (eafea9c) Move to main

See Also

Package Description
perl-Exception-Class-1.420.0-1-rosa2016.1.noarch.rpm A module that allows you to declare real exception classes in Perl
perl-ExtUtils-Depends-0.405.0-1-rosa2016.1.noarch.rpm Perl module for further extending extensions
perl-ExtUtils-PkgConfig-1.160.0-1-rosa2016.1.noarch.rpm Perl module for further extending extensions
perl-File-Copy-Recursive-0.440.0-1-rosa2016.1.noarch.rpm Perl module for recursively copying files and directories
perl-File-DesktopEntry-0.220.0-1-rosa2016.1.noarch.rpm Object to handle .desktop files
perl-File-Find-Rule-0.340.0-1-rosa2016.1.noarch.rpm Alternative interface to File::Find
perl-File-Remove-1.570.0-1-rosa2016.1.noarch.rpm Remove files and directories
perl-File-ShareDir-1.30.0-11-rosa2016.1.noarch.rpm Locate per-dist and per-module shared files
perl-File-ShareDir-Install-0.100.0-4-rosa2016.1.noarch.rpm Install shared files
perl-File-pushd-1.9.0-4-rosa2016.1.noarch.rpm Change directory temporarily for a limited scope
perl-Font-TTF-1.50.0-4-rosa2016.1.noarch.rpm Perl module for TrueType Font hacking
perl-Git-2.19.0-1-rosa2016.1.i586.rpm Perl interface to Git
perl-Glib-1.326.0-1-rosa2016.1.i586.rpm Perl module for the glib-2.x library
perl-Glib-devel-1.326.0-1-rosa2016.1.i586.rpm Development part of Perl interface to GLib
perl-Glib-doc-1.326.0-1-rosa2016.1.i586.rpm Glib documentation
Advertisement
Advertisement