How to Install and Uninstall libeval-closure-perl Package on Ubuntu 16.04 LTS (Xenial Xerus)

Last updated: May 19,2024

1. Install "libeval-closure-perl" package

In this section, we are going to explain the necessary steps to install libeval-closure-perl on Ubuntu 16.04 LTS (Xenial Xerus)

$ sudo apt update $ sudo apt install libeval-closure-perl

2. Uninstall "libeval-closure-perl" package

Please follow the guidelines below to uninstall libeval-closure-perl on Ubuntu 16.04 LTS (Xenial Xerus):

$ sudo apt remove libeval-closure-perl $ sudo apt autoclean && sudo apt autoremove

3. Information about the libeval-closure-perl package on Ubuntu 16.04 LTS (Xenial Xerus)

Package: libeval-closure-perl
Priority: optional
Section: universe/perl
Installed-Size: 56
Maintainer: Ubuntu Developers
Original-Maintainer: Debian Perl Group
Architecture: all
Version: 0.13-1
Depends: perl, libsub-exporter-perl, libtry-tiny-perl
Recommends: libdevel-lexalias-perl (>= 0.05)
Filename: pool/universe/libe/libeval-closure-perl/libeval-closure-perl_0.13-1_all.deb
Size: 10912
MD5sum: 5df036ad6314d1025714e38e65dbdfe4
SHA1: aa190691e597a421166d42d450040a2746ade258
SHA256: 349a1ee5eb5444ece0f1e7c30465de034f57364497364d249a909749a3203e05
Description-en: Perl module to safely and cleanly create closures via string eval
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.
.
Eval::Closure 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).
Description-md5: e89014767dce167c131f30955893fe75
Homepage: https://metacpan.org/release/Eval-Closure
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Origin: Ubuntu