perl-Eval-Closure-0.140.0-3-omv4000.noarch.rpm


Advertisement

Description

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

Property Value
Distribution OpenMandriva Cooker
Repository OpenMandriva Main Release x86_64
Package filename perl-Eval-Closure-0.140.0-3-omv4000.noarch.rpm
Package name perl-Eval-Closure
Package version 0.140.0
Package release 3-omv4000
Package architecture noarch
Package type rpm
Category Development/Perl
Homepage http://metacpan.org/pod/Eval::Closure
License GPLv2+ or Artistic
Maintainer -
Download size 22.64 KB
Installed size 33.93 KB
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.140.0-3-omv4001.noarch.rpm 0.140.0 noarch OpenMandriva Main Release
perl-Eval-Closure - - -

Requires

Name Value
perl(Carp) -
perl(Exporter) -
perl(Scalar::Util) -
perl(constant) -
perl(overload) -
perl(strict) -
perl(warnings) -

Provides

Name Value
perl(Eval::Closure) = 0.140.0
perl-Eval-Closure = 0.140.0-3

Download

Type URL
Mirror abf-downloads.openmandriva.org
Binary Package perl-Eval-Closure-0.140.0-3-omv4000.noarch.rpm
Source Package perl-Eval-Closure-0.140.0-3.src.rpm

Install Howto

  1. Enable the repository in Software Repository Picker:
    # om-repo-picker
  2. Install perl-Eval-Closure rpm package:
    # dnf install perl-Eval-Closure

Files

Path
/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
/usr/share/perl5/vendor_perl/Eval/Closure.pm

See Also

Package Description
perl-Exception-Class-1.440.0-2-omv4000.noarch.rpm A module that allows you to declare real exception classes in Perl
perl-Exporter-5.73-14-omv4001.noarch.rpm Implements default import method for modules
perl-Exporter-Lite-0.50.0-6-omv4000.noarch.rpm Exporter-Lite perl module
perl-Exporter-Tiny-1.2.1-1-omv4000.noarch.rpm Shortcut for Exporter::Tiny
perl-ExtUtils-CBuilder-0.280231-14-omv4001.noarch.rpm Compile and link C code for Perl modules
perl-ExtUtils-Command-7.34-14-omv4001.noarch.rpm Perl routines to replace common UNIX commands in Makefiles
perl-ExtUtils-Depends-0.405.0-3-omv4000.noarch.rpm Perl module for further extending extensions
perl-ExtUtils-Embed-1.35-14-omv4001.noarch.rpm Utilities for embedding Perl in C/C++ applications
perl-ExtUtils-F77-1.170.0-17-omv4000.noarch.rpm Simple interface to F77 libs
perl-ExtUtils-Install-2.14-14-omv4001.noarch.rpm Install files from here to there
perl-ExtUtils-MM-Utils-7.24-14-omv4001.noarch.rpm ExtUtils::MM methods without dependency on ExtUtils::MakeMaker
perl-ExtUtils-MakeMaker-7.34-14-omv4001.noarch.rpm Create a module Makefile
perl-ExtUtils-Manifest-1.70-14-omv4001.noarch.rpm Utilities to write and check a MANIFEST file
perl-ExtUtils-Miniperl-1.09-14-omv4001.noarch.rpm Write the C code for perlmain.c
perl-ExtUtils-ParseXS-3.40-14-omv4001.noarch.rpm Module and a script for converting Perl XS code into C code
Advertisement
Advertisement