BSD Ports

www/p5-Catalyst-Component-ACCEPT_CONTEXT 0.07nb19 NetBSD

Make current Catalyst request context available in Models and Views

System
NetBSD
Repository
pkgsrc
Maintainer
[email protected]
Last update
Commit
618415630a
License
gnu-gpl-v2 OR artistic
Categories
www, perl5
Package size
7.4 KiB, 11.7 KiB installed

Description

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

In the other systems

The newest version among them is 0.07, as upstream numbers it.

SystemPortVersionVulnerabilitiesStatusMaintainerLast update
NetBSDwww/p5-Catalyst-Component-ACCEPT_CONTEXT0.07nb19 newestnone known-[email protected]2026-07-16
FreeBSDwww/p5-Catalyst-Component-ACCEPT_CONTEXT0.07_2 newestnone known-[email protected]-
OpenBSDwww/p5-Catalyst-Component-ACCEPT_CONTEXT0.07p1 newestno data-The OpenBSD ports mailing-list <[email protected]>-
DragonFlywww/p5-Catalyst-Component-ACCEPT_CONTEXT0.07_2 newestnone known-[email protected]-
HardenedBSDwww/p5-Catalyst-Component-ACCEPT_CONTEXT0.07_2 newestno data-[email protected]-
GhostBSDwww/p5-Catalyst-Component-ACCEPT_CONTEXT0.07_2 newestno data-[email protected]-

Compare across BSDs

Install

Binary package:

pkgin install p5-Catalyst-Component-ACCEPT_CONTEXT

From pkgsrc:

cd /usr/pkgsrc/www/p5-Catalyst-Component-ACCEPT_CONTEXT && make install clean

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

RepositoryVersion
NetBSD 10.1 x86_640.07nb19
NetBSD 10.1 aarch640.07nb19
SmartOS / illumos x86_640.07nb19
macOS 15 arm640.07nb19

Dependency graph

Ports that need it on the left, what it needs to run on the right; at most 8 of each. "Dependencies" below lists them all.

Dependencies

Run dependencies 3

Commit history 1

DateCommitCreditsLog message
618415630a wiz *: recursive bump for perl5 5.44.0