{"added":null,"apiVersion":1,"behindSince":null,"buildDepends":[],"categories":["www","perl5"],"comment":"Make current Catalyst request context available in Models and Views","compare":"/compare/p5-catalyst-component-accept-context/index.json","dependentCount":null,"description":"Models and Views don't usually have access to the request object,\nsince they probably don't really need it. Sometimes, however, having\nthe request context available outside of Controllers makes your\napplication cleaner. If that's the case, just use this module as\na base class:\n\n    package MyApp::Model::Foobar;\n    use base qw|Catalyst::Component::ACCEPT_CONTEXT Catalyst::Model|;\n\nThen, you'll be able to get the current request object from within\nyour model:\n\n    sub do_something {\n\tmy $self = shift;\n\tprint \"The current URL is \". $self-\u003econtext-\u003ereq-\u003euri-\u003eas_string;\n    }","flavors":[],"html":"https://daemonports.org/netbsd/www/p5-Catalyst-Component-ACCEPT_CONTEXT/","kind":"port","lastUpdate":"2026-07-16T19:01:23Z","license":["gnu-gpl-v2 OR artistic"],"maintainer":"pkgsrc-users@NetBSD.org","name":"p5-Catalyst-Component-ACCEPT_CONTEXT","newest":true,"newestVersion":"0.07","noVulnData":false,"origin":"www/p5-Catalyst-Component-ACCEPT_CONTEXT","otherSystems":[{"maintainer":"perl@FreeBSD.org","newest":true,"origin":"www/p5-Catalyst-Component-ACCEPT_CONTEXT","path":"/www/p5-Catalyst-Component-ACCEPT_CONTEXT/","system":"FreeBSD","version":"0.07_2"},{"maintainer":"The OpenBSD ports mailing-list \u003cports@openbsd.org\u003e","newest":true,"noVulnData":true,"origin":"www/p5-Catalyst-Component-ACCEPT_CONTEXT","path":"/openbsd/www/p5-Catalyst-Component-ACCEPT_CONTEXT/","system":"OpenBSD","version":"0.07p1"},{"maintainer":"perl@FreeBSD.org","newest":true,"origin":"www/p5-Catalyst-Component-ACCEPT_CONTEXT","path":"/dragonfly/www/p5-Catalyst-Component-ACCEPT_CONTEXT/","system":"DragonFly","version":"0.07_2"},{"maintainer":"perl@FreeBSD.org","newest":true,"noVulnData":true,"origin":"www/p5-Catalyst-Component-ACCEPT_CONTEXT","path":"","system":"HardenedBSD","version":"0.07_2"},{"maintainer":"perl@FreeBSD.org","newest":true,"noVulnData":true,"origin":"www/p5-Catalyst-Component-ACCEPT_CONTEXT","path":"","system":"GhostBSD","version":"0.07_2"}],"packages":[{"repo":"NetBSD 10.1 x86_64","versions":["0.07nb19"]},{"repo":"NetBSD 10.1 aarch64","versions":["0.07nb19"]},{"repo":"SmartOS / illumos x86_64","versions":["0.07nb19"]},{"repo":"macOS 15 arm64","versions":["0.07nb19"]}],"pkgName":"p5-Catalyst-Component-ACCEPT_CONTEXT-0.07nb19","related":null,"repository":"pkgsrc","requiredBy":["databases/p5-CatalystX-CRUD","www/p5-Reaction"],"requiredByCount":2,"runDepends":["devel/p5-MRO-Compat","lang/perl5","www/p5-Catalyst-Runtime"],"status":null,"system":"netbsd","systemLabel":"NetBSD","version":"0.07nb19","versions":null,"vulnerabilities":null,"www":"https://metacpan.org/release/JROCKWAY/Catalyst-Component-ACCEPT_CONTEXT-0.06"}
