./www/p5-Catalyst-Controller-BindLex, Put lexicals on the catalyst stash

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: CURRENT, Version: 0.05nb11, Package name: p5-Catalyst-Controller-BindLex-0.05nb11, Maintainer: pkgsrc-users

This plugin lets you put your lexicals on the stash and elsewhere
very easily.

It uses some funky modules to get it's job done: PadWalker,
Array::RefElem, Devel::Caller, Devel::LexAlias and attributes. In
some people's opinion this hurts this plugin's reputation ;-).

If you use the same name for two variables with the same storage
binding attribute they will be aliased to each other, so you can
use this for reading as well as writing values across controller
subs. This is almost like sharing your lexical scope.

sub bar : Local {
my ( $self, $c ) = @_;

my $x : Stashed;
my %y : Stashed;

$x = 100;

do_something( $c->stash->{x} ); # 100

$c->forward("gorch");
}


Required to run:
[lang/perl5] [devel/p5-Test-Simple] [devel/p5-Array-RefElem] [devel/p5-PadWalker] [devel/p5-Devel-LexAlias] [devel/p5-Devel-Caller] [www/p5-Catalyst-Runtime]

Required to build:
[pkgtools/cwrappers]

Master sites: (Expand)

SHA1: d18567f9edc6a371ca739aa5b74600e1ee63ccb6
RMD160: ab192802424ecf7888ad9de1fc798b82ded64295
Filesize: 21.771 KB

Version history: (Expand)


CVS history: (Expand)


   2017-06-12 10:06:25 by Maya Rashish | Files touched by this commit (1)
Log message:
Fix build with perl 5.26
   2017-06-05 16:25:36 by Ryo ONODERA | Files touched by this commit (2298)
Log message:
Recursive revbump from lang/perl5 5.26.0
   2016-06-08 21:25:20 by Thomas Klausner | Files touched by this commit (2236) | Package updated
Log message:
Bump PKGREVISION for perl-5.24.
   2015-11-04 03:47:43 by Alistair G. Crooks | Files touched by this commit (758)
Log message:
Add SHA512 digests for distfiles for www category

Problems found locating distfiles:
	Package haskell-cgi: missing distfile haskell-cgi-20001206.tar.gz
	Package nginx: missing distfile array-var-nginx-module-0.04.tar.gz
	Package nginx: missing distfile encrypted-session-nginx-module-0.04.tar.gz
	Package nginx: missing distfile headers-more-nginx-module-0.261.tar.gz
	Package nginx: missing distfile nginx_http_push_module-0.692.tar.gz
	Package nginx: missing distfile set-misc-nginx-module-0.29.tar.gz
	Package nginx-devel: missing distfile echo-nginx-module-0.58.tar.gz
	Package nginx-devel: missing distfile form-input-nginx-module-0.11.tar.gz
	Package nginx-devel: missing distfile lua-nginx-module-0.9.16.tar.gz
	Package nginx-devel: missing distfile nginx_http_push_module-0.692.tar.gz
	Package nginx-devel: missing distfile set-misc-nginx-module-0.29.tar.gz
	Package php-owncloud: missing distfile owncloud-8.2.0.tar.bz2

Otherwise, existing SHA1 digests verified and found to be the same on
the machine holding the existing distfiles (morden).  All existing
SHA1 digests retained for now as an audit trail.
   2015-06-12 12:52:19 by Thomas Klausner | Files touched by this commit (3152)
Log message:
Recursive PKGREVISION bump for all packages mentioning 'perl',
having a PKGNAME of p5-*, or depending such a package,
for perl-5.22.0.
   2015-04-27 03:51:00 by Makoto Fujiwara | Files touched by this commit (21)
Log message:
Switch {BUILD_,}DEPENDS from Test::use:ok to Test::Simple, Test::Simple
includes Test::use:ok since 1.001010.
PKGREVISION++.
(For BUILD_DEPENDS, assuming Test::use:ok will be removed sometime.)
   2014-05-30 01:38:20 by Thomas Klausner | Files touched by this commit (3049)
Log message:
Bump for perl-5.20.0.
Do it for all packages that
* mention perl, or
* have a directory name starting with p5-*, or
* depend on a package starting with p5-
like last time, for 5.18, where this didn't lead to complaints.
Let me know if you have any this time.
   2013-05-31 14:42:58 by Thomas Klausner | Files touched by this commit (2880)
Log message:
Bump all packages for perl-5.18, that
a) refer 'perl' in their Makefile, or
b) have a directory name of p5-*, or
c) have any dependency on any p5-* package

Like last time, where this caused no complaints.