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

I am looking for an LTO tape library. Do you have one to spare?
Port details
p5-Eval-Closure 0.11 devel on this many watch lists=4 search for ports that depend on this port
Safely and cleanly create closures via string eval
Maintained by: 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 : Main Web Site : Distfiles Availability : PortsMon

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

Required To Build:
  1. lang/p5-Try-Tiny
  2. lang/perl5.16
Required To Run:
  1. lang/p5-Try-Tiny
  2. lang/perl5.16

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

Master Sites:
  1. ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/distfiles/
  2. ftp://ftp.auckland.ac.nz/pub/perl/CPAN/authors/id/D/DO/DOY/
  3. ftp://ftp.cpan.org/pub/CPAN/authors/id/D/DO/DOY/
  4. ftp://ftp.cpan.org/pub/CPAN/modules/by-module/
  5. ftp://ftp.funet.fi/pub/languages/perl/CPAN/authors/id/D/DO/DOY/
  6. ftp://ftp.kddlabs.co.jp/lang/perl/CPAN/authors/id/D/DO/DOY/
  7. ftp://ftp.mirrorservice.org/sites/cpan.perl.org/CPAN/authors/id/D/DO/DOY/
  8. ftp://ftp.sunet.se/pub/lang/perl/CPAN/authors/id/D/DO/DOY/
  9. http://at.cpan.org/authors/id/D/DO/DOY/
  10. http://backpan.perl.org/authors/id/D/DO/DOY/
  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/

Number of commits found: 12

Commit History - (may be incomplete: see SVNWeb link above for full details)
DateByDescription
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: 12

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
bugzilla44Jul 25
apache22Jul 24
apache22-event-mpmJul 24
apache22-itk-mpmJul 24
apache22-peruser-mpmJul 24
apache22-worker-mpmJul 24
firefoxJul 23
firefox-develJul 23
firefox-esrJul 23
firefox10Jul 23
firefox15Jul 23
firefox3Jul 23
firefox3-develJul 23
firefox35Jul 23
firefox36Jul 23

11 vulnerabilities affecting 32 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 24412
Broken 181
Deprecated 857
Ignore 516
Forbidden 16
Restricted 263
No CDROM 102
Vulnerable 27
Expired 17
Set to expire 844
Interactive 13
new 24 hours 3
new 48 hours5
new 7 days15
new fortnight36
new month104

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