< Home - < Back

perl-Eval-Closure


Information about the package, perl-Eval-Closure, which is shipped with common Linux distributions. The perl-Eval-Closure package is designed for, Safely and cleanly create closures via string eval.


Package Name:

perl-Eval-Closure

Summary:

Safely and cleanly create closures via string eval

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's easy to miss compilation errors, since eval catches them and sticks them in $@ instead. This module attempts to solve these problems. It provides an eval_closure function, which evals a string in a clean environment, other than a fixed list of specified variables. Compilation errors are rethrown automatically.

Architecture:

noarch

Version:

0.08

Release:

4.el6

Size:

20 k

Repository:

epel

From Repository:

Licence:

GPL+ or Artistic



Handy Yum Commands for perl-Eval-Closure


Control the perl-Eval-Closure package with the following handy commands outlined below.


Command

Description of Command

yum install perl-Eval-Closure

This command will install perl-Eval-Closure on the server.

yum remove perl-Eval-Closure

This command will un-install perl-Eval-Closure on the server. When you run this command, you will be asked if you are sure that you want to remove perl-Eval-Closure, so you have to manually confirm that you want to do this.

yum -y remove perl-Eval-Closure

This command will un-install perl-Eval-Closure on the server. When you run this command with th e -y flag, you will not be prompted to check that you are sure you want to remove the package - so be sure you absolutely want to remove perl-Eval-Closure when using the -y flag.

yum update perl-Eval-Closure

This command will update perl-Eval-Closure to the latest version. When you run this command, you will be asked if you are sure that you want to remove perl-Eval-Closure, so you have to manually confirm that you want to do this.

yum -y update perl-Eval-Closure

This command will update perl-Eval-Closure to the latest version. When you run this command with the -y flag, you will not be prompted to check that you are sure you want to remove the package - so be sure you absolutely want to remove perl-Eval-Closure when using the -y flag.

yum info perl-Eval-Closure

This command will show you core information about the perl-Eval-Closure package.

yum deplist perl-Eval-Closure

This command will show you the dependencies for perl-Eval-Closure. Thankfully, when using Yum, if dependencies are required, these are also installed at the same time so you don't have to worry too much about that.

yum check-update perl-Eval-Closure

This command will check if there is an update waiting on perl-Eval-Closure. When you run this command this will return nothing if there is nothing to update, or, will return the package name if the package is due to be updated.