# 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;
        }

- Source version: `p5-Catalyst-Component-ACCEPT_CONTEXT-0.07nb19`
- Maintainer: pkgsrc-users AT NetBSD.org
- Website: https://metacpan.org/release/JROCKWAY/Catalyst-Component-ACCEPT_CONTEXT-0.06
- License: gnu-gpl-v2
- Package history: cvs, hg, git

## 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

OS | Architecture | Version
--- | --- | ---
NetBSD 10.0 | aarch64 | p5-Catalyst-Component-ACCEPT_CONTEXT-0.07nb18.tgz
NetBSD 10.0 | aarch64eb | p5-Catalyst-Component-ACCEPT_CONTEXT-0.07nb17.tgz
NetBSD 10.0 | earmv6hf | p5-Catalyst-Component-ACCEPT_CONTEXT-0.07nb18.tgz
NetBSD 10.0 | earmv6hf | p5-Catalyst-Component-ACCEPT_CONTEXT-0.07nb18.tgz
NetBSD 10.0 | earmv7hf | p5-Catalyst-Component-ACCEPT_CONTEXT-0.07nb18.tgz
NetBSD 10.0 | earmv7hf | p5-Catalyst-Component-ACCEPT_CONTEXT-0.07nb18.tgz
NetBSD 10.0 | i386 | p5-Catalyst-Component-ACCEPT_CONTEXT-0.07nb18.tgz
NetBSD 10.0 | i386 | p5-Catalyst-Component-ACCEPT_CONTEXT-0.07nb18.tgz
NetBSD 10.0 | powerpc | p5-Catalyst-Component-ACCEPT_CONTEXT-0.07nb17.tgz
NetBSD 10.0 | powerpc | p5-Catalyst-Component-ACCEPT_CONTEXT-0.07nb18.tgz
NetBSD 10.0 | powerpc | p5-Catalyst-Component-ACCEPT_CONTEXT-0.07nb18.tgz
NetBSD 10.0 | sparc64 | p5-Catalyst-Component-ACCEPT_CONTEXT-0.07nb16.tgz
NetBSD 10.0 | x86_64 | p5-Catalyst-Component-ACCEPT_CONTEXT-0.07nb18.tgz
NetBSD 10.0 | x86_64 | p5-Catalyst-Component-ACCEPT_CONTEXT-0.07nb18.tgz
NetBSD 11.0 | aarch64 | p5-Catalyst-Component-ACCEPT_CONTEXT-0.07nb18.tgz
NetBSD 11.0 | aarch64eb | p5-Catalyst-Component-ACCEPT_CONTEXT-0.07nb18.tgz
NetBSD 11.0 | earmv6hf | p5-Catalyst-Component-ACCEPT_CONTEXT-0.07nb18.tgz
NetBSD 11.0 | earmv6hf | p5-Catalyst-Component-ACCEPT_CONTEXT-0.07nb18.tgz
NetBSD 11.0 | earmv7hf | p5-Catalyst-Component-ACCEPT_CONTEXT-0.07nb18.tgz
NetBSD 11.0 | earmv7hf | p5-Catalyst-Component-ACCEPT_CONTEXT-0.07nb18.tgz
NetBSD 11.0 | i386 | p5-Catalyst-Component-ACCEPT_CONTEXT-0.07nb18.tgz
NetBSD 11.0 | i386 | p5-Catalyst-Component-ACCEPT_CONTEXT-0.07nb18.tgz
NetBSD 11.0 | mips64eb | p5-Catalyst-Component-ACCEPT_CONTEXT-0.07nb18.tgz
NetBSD 11.0 | mips64eb | p5-Catalyst-Component-ACCEPT_CONTEXT-0.07nb18.tgz
NetBSD 11.0 | powerpc | p5-Catalyst-Component-ACCEPT_CONTEXT-0.07nb18.tgz
NetBSD 11.0 | riscv64 | p5-Catalyst-Component-ACCEPT_CONTEXT-0.07nb18.tgz
NetBSD 11.0 | x86_64 | p5-Catalyst-Component-ACCEPT_CONTEXT-0.07nb18.tgz
NetBSD 11.0 | x86_64 | p5-Catalyst-Component-ACCEPT_CONTEXT-0.07nb18.tgz
NetBSD 9.0 | aarch64 | p5-Catalyst-Component-ACCEPT_CONTEXT-0.07nb18.tgz
NetBSD 9.0 | earmv6hf | p5-Catalyst-Component-ACCEPT_CONTEXT-0.07nb18.tgz
NetBSD 9.0 | earmv6hf | p5-Catalyst-Component-ACCEPT_CONTEXT-0.07nb18.tgz
NetBSD 9.0 | earmv7hf | p5-Catalyst-Component-ACCEPT_CONTEXT-0.07nb18.tgz
NetBSD 9.0 | earmv7hf | p5-Catalyst-Component-ACCEPT_CONTEXT-0.07nb18.tgz
NetBSD 9.0 | i386 | p5-Catalyst-Component-ACCEPT_CONTEXT-0.07nb18.tgz
NetBSD 9.0 | i386 | p5-Catalyst-Component-ACCEPT_CONTEXT-0.07nb18.tgz
NetBSD 9.0 | powerpc | p5-Catalyst-Component-ACCEPT_CONTEXT-0.07nb17.tgz
NetBSD 9.0 | x86_64 | p5-Catalyst-Component-ACCEPT_CONTEXT-0.07nb18.tgz
NetBSD 9.0 | x86_64 | p5-Catalyst-Component-ACCEPT_CONTEXT-0.07nb18.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

(no vulnerabilities known)

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.