debian/0000755000000000000000000000000012177706341007176 5ustar debian/control0000644000000000000000000000347012177706341010605 0ustar Source: libeval-closure-perl Section: perl Priority: optional Build-Depends: debhelper (>= 8) Build-Depends-Indep: perl, libdevel-lexalias-perl (>= 0.05), libpadwalker-perl, libsub-exporter-perl, libtest-fatal-perl, libtest-output-perl, libtest-requires-perl, libtry-tiny-perl Maintainer: Debian Perl Group Uploaders: Alessandro Ghedini Standards-Version: 3.9.4 Homepage: https://metacpan.org/release/Eval-Closure/ Vcs-Git: git://anonscm.debian.org/pkg-perl/packages/libeval-closure-perl.git Vcs-Browser: http://anonscm.debian.org/gitweb/?p=pkg-perl/packages/libeval-closure-perl.git Package: libeval-closure-perl Architecture: all Depends: ${misc:Depends}, ${perl:Depends}, libsub-exporter-perl, libtry-tiny-perl Recommends: libdevel-lexalias-perl (>= 0.05) Description: 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). debian/compat0000644000000000000000000000000212177706341010374 0ustar 8 debian/watch0000644000000000000000000000016612177706341010232 0ustar version=3 https://metacpan.org/release/Eval-Closure/ .*/Eval-Closure-v?(\d[\d.-]+)\.(?:tar(?:\.gz|\.bz2)?|tgz|zip)$ debian/source/0000755000000000000000000000000012177706341010476 5ustar debian/source/format0000644000000000000000000000001412177706341011704 0ustar 3.0 (quilt) debian/changelog0000644000000000000000000000400112177706341011043 0ustar libeval-closure-perl (0.11-1) unstable; urgency=low * New upstream release * Build-Depends and Recommends libdevel-lexalias-perl -- Alessandro Ghedini Mon, 05 Aug 2013 13:30:31 +0200 libeval-closure-perl (0.10-1) unstable; urgency=low [ Salvatore Bonaccorso ] * Change Vcs-Git to canonical URI (git://anonscm.debian.org) * Change search.cpan.org based URIs to metacpan.org based URIs [ Alessandro Ghedini ] * New upstream release * Email change: Alessandro Ghedini -> ghedo@debian.org * Update d/copyright to Copyright-Format 1.0 * Bump Standards-Version to 3.9.4 (no changes needed) * Update upstream copyright years -- Alessandro Ghedini Fri, 26 Jul 2013 19:35:01 +0200 libeval-closure-perl (0.08-1) unstable; urgency=low * Team upload. * New upstream release. -- gregor herrmann Sat, 11 Feb 2012 19:56:15 +0100 libeval-closure-perl (0.07-1) unstable; urgency=low [ Ansgar Burchardt ] * debian/control: Convert Vcs-* fields to Git. [ Salvatore Bonaccorso ] * debian/copyright: Replace DEP5 Format-Specification URL from svn.debian.org to anonscm.debian.org URL. [ Alessandro Ghedini ] * New upstream release * Bump upstream copyright year -- Alessandro Ghedini Sun, 05 Feb 2012 17:36:16 +0100 libeval-closure-perl (0.06-1) unstable; urgency=low * Team upload. * New upstream release. -- Ansgar Burchardt Mon, 06 Jun 2011 22:07:50 +0200 libeval-closure-perl (0.05-1) unstable; urgency=low * New upstream release * Bump Standards-Version to 3.9.2 (no changes needed) -- Alessandro Ghedini Wed, 27 Apr 2011 21:07:48 +0200 libeval-closure-perl (0.04-1) unstable; urgency=low * New upstream release -- Alessandro Ghedini Wed, 20 Apr 2011 19:29:56 +0200 libeval-closure-perl (0.03-1) unstable; urgency=low * Initial Release. (Closes: #622593) -- Alessandro Ghedini Wed, 13 Apr 2011 11:02:51 +0200 debian/copyright0000644000000000000000000000202712177706341011132 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: Eval-Closure Upstream-Contact: Jesse Luehrs Source: https://metacpan.org/release/Eval-Closure/ Files: * Copyright: 2013, Jesse Luehrs License: Artistic or GPL-1+ Files: debian/* Copyright: 2011, Alessandro Ghedini License: Artistic or GPL-1+ License: Artistic This program is free software; you can redistribute it and/or modify it under the terms of the Artistic License, which comes with Perl. . On Debian systems, the complete text of the Artistic License can be found in `/usr/share/common-licenses/Artistic'. License: GPL-1+ This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 1, or (at your option) any later version. . On Debian systems, the complete text of version 1 of the GNU General Public License can be found in `/usr/share/common-licenses/GPL-1'. debian/rules0000755000000000000000000000003612177706341010255 0ustar #!/usr/bin/make -f %: dh $@