www/p5-Catalyst-Controller-BindLex - The NetBSD Packages Collection

Put lexicals on the catalyst stash

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");
}

Build dependencies

pkgtools/mktools pkgtools/cwrappers

Runtime dependencies

devel/p5-Array-RefElem www/p5-Catalyst-Runtime devel/p5-Devel-Caller devel/p5-Devel-LexAlias devel/p5-PadWalker lang/perl5 lang/perl5

Binary packages

OSArchitectureVersion
NetBSD 10.0aarch64p5-Catalyst-Controller-BindLex-0.05nb18.tgz
NetBSD 10.0aarch64p5-Catalyst-Controller-BindLex-0.05nb18.tgz
NetBSD 10.0aarch64p5-Catalyst-Controller-BindLex-0.05nb18.tgz
NetBSD 10.0earmv6hfp5-Catalyst-Controller-BindLex-0.05nb18.tgz
NetBSD 10.0earmv6hfp5-Catalyst-Controller-BindLex-0.05nb18.tgz
NetBSD 10.0earmv6hfp5-Catalyst-Controller-BindLex-0.05nb18.tgz
NetBSD 10.0earmv7hfp5-Catalyst-Controller-BindLex-0.05nb18.tgz
NetBSD 10.0earmv7hfp5-Catalyst-Controller-BindLex-0.05nb18.tgz
NetBSD 10.0earmv7hfp5-Catalyst-Controller-BindLex-0.05nb18.tgz
NetBSD 10.0i386p5-Catalyst-Controller-BindLex-0.05nb18.tgz
NetBSD 10.0i386p5-Catalyst-Controller-BindLex-0.05nb18.tgz
NetBSD 10.0powerpcp5-Catalyst-Controller-BindLex-0.05nb18.tgz
NetBSD 10.0x86_64p5-Catalyst-Controller-BindLex-0.05nb18.tgz
NetBSD 10.0x86_64p5-Catalyst-Controller-BindLex-0.05nb18.tgz
NetBSD 8.0powerpcp5-Catalyst-Controller-BindLex-0.05nb18.tgz
NetBSD 8.0powerpcp5-Catalyst-Controller-BindLex-0.05nb18.tgz
NetBSD 8.0x86_64p5-Catalyst-Controller-BindLex-0.05nb18.tgz
NetBSD 9.0aarch64p5-Catalyst-Controller-BindLex-0.05nb18.tgz
NetBSD 9.0aarch64p5-Catalyst-Controller-BindLex-0.05nb18.tgz
NetBSD 9.0aarch64p5-Catalyst-Controller-BindLex-0.05nb18.tgz
NetBSD 9.0earmv6hfp5-Catalyst-Controller-BindLex-0.05nb18.tgz
NetBSD 9.0earmv6hfp5-Catalyst-Controller-BindLex-0.05nb18.tgz
NetBSD 9.0earmv6hfp5-Catalyst-Controller-BindLex-0.05nb18.tgz
NetBSD 9.0earmv7hfp5-Catalyst-Controller-BindLex-0.05nb18.tgz
NetBSD 9.0earmv7hfp5-Catalyst-Controller-BindLex-0.05nb18.tgz
NetBSD 9.0earmv7hfp5-Catalyst-Controller-BindLex-0.05nb18.tgz
NetBSD 9.0i386p5-Catalyst-Controller-BindLex-0.05nb18.tgz
NetBSD 9.0i386p5-Catalyst-Controller-BindLex-0.05nb18.tgz
NetBSD 9.0powerpcp5-Catalyst-Controller-BindLex-0.05nb18.tgz
NetBSD 9.0powerpcp5-Catalyst-Controller-BindLex-0.05nb18.tgz
NetBSD 9.0sparc64p5-Catalyst-Controller-BindLex-0.05nb17.tgz
NetBSD 9.0x86_64p5-Catalyst-Controller-BindLex-0.05nb18.tgz
NetBSD 9.0x86_64p5-Catalyst-Controller-BindLex-0.05nb18.tgz
NetBSD 9.3x86_64p5-Catalyst-Controller-BindLex-0.05nb18.tgz

Binary packages can be installed with the high-level tool pkgin (which can be installed with pkg_add) or pkg_add(1) (installed by default). The NetBSD packages collection is also designed to permit easy installation from source.

Available build options

(none)

Known vulnerabilities

The pkg_admin audit command locates any installed package which has been mentioned in security advisories as having vulnerabilities.

Please note the vulnerabilities database might not be fully accurate, and not every bug is exploitable with every configuration.


Problem reports, updates or suggestions for this package should be reported with send-pr.