FreshPorts -- The Place For Ports If you buy from Amazon USA, please support us by using this link.
Follow us
Blog
Twitter

Please give me your LTO-4 or better tape library and I'll put it to good use.
Port details
p5-Eval-Closure Safely and cleanly create closures via string eval
0.12 devel on this many watch lists=4 search for ports that depend on this port Find issues related to this port Report an issue related to this port
Maintainer: perl@FreeBSD.org search for ports maintained by this maintainer
Port Added: 06 Jun 2011 09:27:55
Also Listed In: perl5
License: ART10 GPLv1
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).

WWW: http://search.cpan.org/dist/Eval-Closure/
SVNWeb : Homepage : Distfiles Availability : PortsMon

NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.

Build dependencies:
  1. p5-Try-Tiny>=0 : lang/p5-Try-Tiny
  2. perl5.18.4 : lang/perl5.18
Runtime dependencies:
  1. p5-Try-Tiny>=0 : lang/p5-Try-Tiny
  2. perl5.18.4 : lang/perl5.18

This port is required by:

for Build for Run * - deleted ports are only shown under the This port is required by section. It was harder to do for the Required section. Perhaps later...

To install the port: cd /usr/ports/devel/p5-Eval-Closure/ && make install clean
To add the package: pkg install devel/p5-Eval-Closure


Configuration Options
     No options to configure

USES:
perl5

Master Sites:
  1. ftp://ftp.auckland.ac.nz/pub/perl/CPAN/authors/id/D/DO/DOY/
  2. ftp://ftp.cpan.org/pub/CPAN/authors/id/D/DO/DOY/
  3. ftp://ftp.cpan.org/pub/CPAN/modules/by-module/
  4. ftp://ftp.funet.fi/pub/languages/perl/CPAN/authors/id/D/DO/DOY/
  5. ftp://ftp.kddlabs.co.jp/lang/perl/CPAN/authors/id/D/DO/DOY/
  6. ftp://ftp.mirrorservice.org/sites/cpan.perl.org/CPAN/authors/id/D/DO/DOY/
  7. ftp://ftp.sunet.se/pub/lang/perl/CPAN/authors/id/D/DO/DOY/
  8. http://backpan.perl.org/authors/id/D/DO/DOY/
  9. http://cpan.metacpan.org/authors/id/D/DO/DOY/
  10. http://distcache.FreeBSD.org/ports-distfiles/
  11. http://ftp.jaist.ac.jp/pub/CPAN/authors/id/D/DO/DOY/
  12. http://ftp.twaren.net/Unix/Lang/CPAN/authors/id/D/DO/DOY/
  13. http://www.cpan.dk/authors/id/D/DO/DOY/
  14. http://www.cpan.dk/modules/by-module/
  15. http://www.cpan.org/authors/id/D/DO/DOY/

Number of commits found: 15

Commit History - (may be incomplete: see SVNWeb link above for full details)
DateByDescription
18 Jan 2015 22:49:05
Original commit files touched by this commit  0.12
Revision:377367
sunpoet search for other commits by this committer
- Update to 0.12
- Fix TEST_DEPENDS:
  - PadWalker is not required
  - Test::Output is a development dependency
- Sort PLIST

Changes:	http://search.cpan.org/dist/Eval-Closure/Changes
26 Nov 2014 13:08:38
Original commit files touched by this commit  0.11_1
Revision:373448
mat search for other commits by this committer
Change the way Perl modules are installed, update the default Perl to 5.18.

Before, we had:

  site_perl :           lib/perl5/site_perl/5.18
  site_perl/perl_arch : lib/perl5/site_perl/5.18/mach
  perl_man3 :           lib/perl5/5.18/man/man3

Now we have:

  site_perl : lib/perl5/site_perl
  site_arch : lib/perl5/site_perl/mach/5.18
  perl_man3 : lib/perl5/site_perl/man/man3

Modules without any .so will be installed at the same place regardless of the
(Only the first 15 lines of the commit message are shown above View all of this commit message)
27 Oct 2014 10:55:59
Original commit files touched by this commit  0.11
Revision:371547
bapt search for other commits by this committer
Cleanup plist
29 Oct 2013 09:01:39
Original commit files touched by this commit  0.11
Revision:331936
vanilla search for other commits by this committer
Support STAGEDIR.
20 Sep 2013 17:13:47
Original commit files touched by this commit  0.11
Revision:327724
bapt search for other commits by this committer
Add NO_STAGE all over the place in preparation for the staging support (cat:
devel part 3)
02 Aug 2013 07:30:48
Original commit files touched by this commit  0.11
Revision:324148
culot search for other commits by this committer
- Update to 0.11
- Convert to new Uses/perl5.mk framework

Changes:	http://search.cpan.org/dist/Eval-Closure/Changes
13 Jul 2013 11:51:25
Original commit files touched by this commit  0.10
Revision:322911
sunpoet search for other commits by this committer
- Update to 0.10
- Cleanup Makefile header
- Fix pkg-descr:
  - Remove trailing space
  - Use space after WWW:

Changes:	http://search.cpan.org/dist/Eval-Closure/Changes
17 Dec 2012 14:09:30
Original commit files touched by this commit  0.08
Revision:309094
az search for other commits by this committer
Cleanup supporting perl version 5.8 and 5.10,
lang/perl5.8 and lang/5.10 will be removed from ports tree soon.
13 Mar 2012 16:15:36
Original commit files touched by this commit  0.08
pgollucci search for other commits by this committer
- Revert ports/165605 as requested by portmgr@

Note: devel/p5-B-Size and devel/p5-Devel-Arena
where intentionally not restored.

PR:             ports/165605
Approved by:    portmgr (bapt)
Feature safe:   yes (I sure hope so)
08 Mar 2012 18:45:38
Original commit files touched by this commit  0.08
pgollucci search for other commits by this committer
- Remove ports that only work with < perl 5.12 (devel/p5-B-Size,
devel/p5-Devel-Arena)
- Remove conditionals for PERL_LEVEL < 501200
- Remove regression-test targets b/c this will be centralized in Mk/bsd.perl.mk
- Other minor cleanups
  RUN_DEPENDS = ${BUILD_DEPENDS} -> RUN_DEPENDS:= ${BUILD_DEPENDS}

PR:             ports/165605
Submitted by:   pgollucci (myself)
Approved by:    portmgr (linimon)
Exp Run by:     linimon
Tested by:      make index
10 Feb 2012 03:10:50
Original commit files touched by this commit  0.08
sunpoet search for other commits by this committer
- Update to 0.08

Changes:        http://search.cpan.org/dist/Eval-Closure/Changes
28 Dec 2011 08:20:20
Original commit files touched by this commit  0.06
ehaupt search for other commits by this committer
End WWW CPAN URL with a "/"
07 Oct 2011 11:22:46
Original commit files touched by this commit  0.06
culot search for other commits by this committer
- Fix LICENSE (Artistic 1 instead of Artistic 2)
- Pet portlint(1)

PR:             ports/161336
Submitted by:   Simon Olofsson <simon@olofsson.de>
06 Oct 2011 17:21:44
Original commit files touched by this commit  0.06
swills search for other commits by this committer
- Add test dependencies to enable testing
- Pet portlint while here
06 Jun 2011 09:27:32
Original commit files touched by this commit  0.06
az search for other commits by this committer
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).

Number of commits found: 15

Login
User Login
Create account

Servers and bandwidth provided by
New York Internet, SuperNews, and RootBSD

This site
What is FreshPorts?
About the authors
FAQ
How big is it?
The latest upgrade!
Privacy
Forums
Blog
Contact

Search
Enter Keywords:
 
more...

Latest Vulnerabilities
puttyMar 05
qt4-guiMar 05
qt5-guiMar 05
chromiumMar 04
jenkinsMar 01
jenkins-ltsMar 01
firefoxFeb 27
firefox-esrFeb 27
libxulFeb 27
linux-firefoxFeb 27
linux-seamonkeyFeb 27
linux-thunderbirdFeb 27
seamonkeyFeb 27
thunderbirdFeb 27
php5Feb 26

12 vulnerabilities affecting 37 ports have been reported in the past 14 days

* - modified, not new

All vulnerabilities


Ports
Home
Categories
Deleted ports
Sanity Test Failures
Newsfeeds

Statistics
Graphs
NEW Graphs (Javascript)
Traffic

Calculated hourly:
Port count 24632
Broken 93
Deprecated 38
Ignore 372
Forbidden 1
Restricted 207
No CDROM 93
Vulnerable 22
Expired 0
Set to expire 32
Interactive 0
new 24 hours 2
new 48 hours4
new 7 days29
new fortnight63
new month121

Servers and bandwidth provided by
New York Internet, SuperNews, and RootBSD
Valid HTML, CSS, and RSS.
Copyright © 2000-2014 Dan Langille. All rights reserved.