[Bug 672015] New: Review Request: perl-Eval-Closure - Safely and cleanly create closures via string eval

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug.

Summary: Review Request: perl-Eval-Closure - Safely and cleanly create closures via string eval
Alias: perl-Eval-Closure

https://bugzilla.redhat.com/show_bug.cgi?id=672015

           Summary: Review Request: perl-Eval-Closure - Safely and cleanly
                    create closures via string eval
           Product: Fedora
           Version: rawhide
          Platform: Unspecified
               URL: http://search.cpan.org/dist/Eval-Closure/
        OS/Version: Unspecified
            Status: NEW
          Severity: unspecified
          Priority: unspecified
         Component: Package Review
        AssignedTo: nobody@xxxxxxxxxxxxxxxxx
        ReportedBy: iarnell@xxxxxxxxx
         QAContact: extras-qa@xxxxxxxxxxxxxxxxx
                CC: notting@xxxxxxxxxx, fedora-package-review@xxxxxxxxxx
   Estimated Hours: 0.0
    Classification: Fedora


Spec URL: http://fedorapeople.org/~iarnell/review/perl-Eval-Closure.spec
SRPM URL:
http://fedorapeople.org/~iarnell/review/perl-Eval-Closure-0.01-1.fc14.src.rpm

Description:
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).

Koji build: http://koji.fedoraproject.org/koji/taskinfo?taskID=2737882

*rt-0.10_01

-- 
Configure bugmail: https://bugzilla.redhat.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
_______________________________________________
package-review mailing list
package-review@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/package-review


[Index of Archives]     [Fedora Legacy]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]     [Fedora Tools]