www/p5-Catalyst-Component-ACCEPT_CONTEXT - The NetBSD Packages Collection

Make current Catalyst request context available in Models and Views

Models and Views don't usually have access to the request object,
since they probably don't really need it. Sometimes, however, having
the request context available outside of Controllers makes your
application cleaner. If that's the case, just use this module as
a base class:

    package MyApp::Model::Foobar;
    use base qw|Catalyst::Component::ACCEPT_CONTEXT Catalyst::Model|;

Then, you'll be able to get the current request object from within
your model:

    sub do_something {
	my $self = shift;
	print "The current URL is ". $self->context->req->uri->as_string;
    }

Build dependencies

devel/p5-Devel-Cycle pkgtools/mktools pkgtools/cwrappers

Runtime dependencies

www/p5-Catalyst-Runtime devel/p5-MRO-Compat lang/perl5 lang/perl5

Binary packages

OSArchitectureVersion
NetBSD 10.0aarch64p5-Catalyst-Component-ACCEPT_CONTEXT-0.07nb16.tgz
NetBSD 10.0aarch64p5-Catalyst-Component-ACCEPT_CONTEXT-0.07nb16.tgz
NetBSD 10.0aarch64ebp5-Catalyst-Component-ACCEPT_CONTEXT-0.07nb16.tgz
NetBSD 10.0aarch64ebp5-Catalyst-Component-ACCEPT_CONTEXT-0.07nb16.tgz
NetBSD 10.0earmv6hfp5-Catalyst-Component-ACCEPT_CONTEXT-0.07nb16.tgz
NetBSD 10.0earmv6hfp5-Catalyst-Component-ACCEPT_CONTEXT-0.07nb16.tgz
NetBSD 10.0earmv6hfp5-Catalyst-Component-ACCEPT_CONTEXT-0.07nb16.tgz
NetBSD 10.0earmv7hfp5-Catalyst-Component-ACCEPT_CONTEXT-0.07nb16.tgz
NetBSD 10.0earmv7hfp5-Catalyst-Component-ACCEPT_CONTEXT-0.07nb16.tgz
NetBSD 10.0earmv7hfp5-Catalyst-Component-ACCEPT_CONTEXT-0.07nb16.tgz
NetBSD 10.0i386p5-Catalyst-Component-ACCEPT_CONTEXT-0.07nb16.tgz
NetBSD 10.0i386p5-Catalyst-Component-ACCEPT_CONTEXT-0.07nb16.tgz
NetBSD 10.0powerpcp5-Catalyst-Component-ACCEPT_CONTEXT-0.07nb16.tgz
NetBSD 10.0powerpcp5-Catalyst-Component-ACCEPT_CONTEXT-0.07nb16.tgz
NetBSD 10.0powerpcp5-Catalyst-Component-ACCEPT_CONTEXT-0.07nb16.tgz
NetBSD 10.0sparc64p5-Catalyst-Component-ACCEPT_CONTEXT-0.07nb16.tgz
NetBSD 10.0sparc64p5-Catalyst-Component-ACCEPT_CONTEXT-0.07nb16.tgz
NetBSD 10.0sparcp5-Catalyst-Component-ACCEPT_CONTEXT-0.07nb16.tgz
NetBSD 10.0sparcp5-Catalyst-Component-ACCEPT_CONTEXT-0.07nb16.tgz
NetBSD 10.0x86_64p5-Catalyst-Component-ACCEPT_CONTEXT-0.07nb16.tgz
NetBSD 10.0x86_64p5-Catalyst-Component-ACCEPT_CONTEXT-0.07nb16.tgz
NetBSD 9.0aarch64p5-Catalyst-Component-ACCEPT_CONTEXT-0.07nb16.tgz
NetBSD 9.0aarch64p5-Catalyst-Component-ACCEPT_CONTEXT-0.07nb16.tgz
NetBSD 9.0earmv6hfp5-Catalyst-Component-ACCEPT_CONTEXT-0.07nb16.tgz
NetBSD 9.0earmv6hfp5-Catalyst-Component-ACCEPT_CONTEXT-0.07nb16.tgz
NetBSD 9.0earmv6hfp5-Catalyst-Component-ACCEPT_CONTEXT-0.07nb16.tgz
NetBSD 9.0earmv7hfp5-Catalyst-Component-ACCEPT_CONTEXT-0.07nb16.tgz
NetBSD 9.0earmv7hfp5-Catalyst-Component-ACCEPT_CONTEXT-0.07nb16.tgz
NetBSD 9.0earmv7hfp5-Catalyst-Component-ACCEPT_CONTEXT-0.07nb16.tgz
NetBSD 9.0i386p5-Catalyst-Component-ACCEPT_CONTEXT-0.07nb16.tgz
NetBSD 9.0i386p5-Catalyst-Component-ACCEPT_CONTEXT-0.07nb16.tgz
NetBSD 9.0powerpcp5-Catalyst-Component-ACCEPT_CONTEXT-0.07nb16.tgz
NetBSD 9.0powerpcp5-Catalyst-Component-ACCEPT_CONTEXT-0.07nb16.tgz
NetBSD 9.0powerpcp5-Catalyst-Component-ACCEPT_CONTEXT-0.07nb16.tgz
NetBSD 9.0x86_64p5-Catalyst-Component-ACCEPT_CONTEXT-0.07nb16.tgz
NetBSD 9.0x86_64p5-Catalyst-Component-ACCEPT_CONTEXT-0.07nb16.tgz
NetBSD 9.3x86_64p5-Catalyst-Component-ACCEPT_CONTEXT-0.07nb16.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.