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.
| System | Port | Version | Vulnerabilities | Status | Maintainer | Last update |
|---|---|---|---|---|---|---|
| NetBSD | www/p5-Catalyst-Component-ACCEPT_CONTEXT | 0.07nb19 newest | none known | - | [email protected] | 2026-07-16 |
| FreeBSD | www/p5-Catalyst-Component-ACCEPT_CONTEXT | 0.07_2 newest | none known | - | [email protected] | - |
| OpenBSD | www/p5-Catalyst-Component-ACCEPT_CONTEXT | 0.07p1 newest | no data | - | The OpenBSD ports mailing-list <[email protected]> | - |
| DragonFly | www/p5-Catalyst-Component-ACCEPT_CONTEXT | 0.07_2 newest | none known | - | [email protected] | - |
| HardenedBSD | www/p5-Catalyst-Component-ACCEPT_CONTEXT | 0.07_2 newest | no data | - | [email protected] | - |
| GhostBSD | www/p5-Catalyst-Component-ACCEPT_CONTEXT | 0.07_2 newest | no data | - | [email protected] | - |
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.
| Repository | Version |
|---|---|
| NetBSD 10.1 x86_64 | 0.07nb19 |
| NetBSD 10.1 aarch64 | 0.07nb19 |
| SmartOS / illumos x86_64 | 0.07nb19 |
| macOS 15 arm64 | 0.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.