How to Install and Uninstall libeval-closure-perl Package on Ubuntu 20.10 (Groovy Gorilla)

Last updated: May 14,2024

1. Install "libeval-closure-perl" package

Please follow the steps below to install libeval-closure-perl on Ubuntu 20.10 (Groovy Gorilla)

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

2. Uninstall "libeval-closure-perl" package

This is a short guide on how to uninstall libeval-closure-perl on Ubuntu 20.10 (Groovy Gorilla):

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

3. Information about the libeval-closure-perl package on Ubuntu 20.10 (Groovy Gorilla)

Package: libeval-closure-perl
Architecture: all
Version: 0.14-1
Priority: optional
Section: universe/perl
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian Perl Group
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 28
Depends: perl, libsub-exporter-perl
Recommends: libdevel-lexalias-perl (>= 0.05)
Filename: pool/universe/libe/libeval-closure-perl/libeval-closure-perl_0.14-1_all.deb
Size: 10286
MD5sum: b16b903f8d044f8c4ac9755f404ce219
SHA1: f7441526406263307f7f4e569f2c69ebefe8f600
SHA256: 2a55d26036175639ec0bbabcf76ede68edce7960aaa49f7f0668ab029b186d47
SHA512: d9fc5d9012a5a36f5f24be8f9fd3ae1160a666b354ca1420f7a32d83e2c313b3270de8198e364fd9971b5fbc512e1966f14a3886273df4763beb410e4da3ac5a
Homepage: https://metacpan.org/release/Eval-Closure
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
Task: ubuntukylin-desktop