perl-Catalyst-Component-ACCEPT_CONTEXT-0.70.0-5.mga7.noarch.rpm


Advertisement

Description

perl-Catalyst-Component-ACCEPT_CONTEXT - Make the current Catalyst context available in Models and Views

Property Value
Distribution Mageia Cauldron
Repository Mageia Core i586
Package filename perl-Catalyst-Component-ACCEPT_CONTEXT-0.70.0-5.mga7.noarch.rpm
Package name perl-Catalyst-Component-ACCEPT_CONTEXT
Package version 0.70.0
Package release 5.mga7
Package architecture noarch
Package type rpm
Category Development/Perl
Homepage http://search.cpan.org/dist/Catalyst-Component-ACCEPT_CONTEXT
License GPL+ or Artistic
Maintainer -
Download size 15.16 KB
Installed size 13.58 KB
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;
}

Alternatives

Package Version Architecture Repository
perl-Catalyst-Component-ACCEPT_CONTEXT-0.70.0-5.mga7.noarch.rpm 0.70.0 noarch Mageia Core
perl-Catalyst-Component-ACCEPT_CONTEXT - - -

Requires

Name Value
perl(Catalyst) -
perl(MRO::Compat) -
perl(Scalar::Util) -
perl(strict) -
perl(warnings) -
perl-base >= 2:5.28.0

Provides

Name Value
perl(Catalyst::Component::ACCEPT_CONTEXT) == 0.70.0
perl-Catalyst-Component-ACCEPT_CONTEXT == 0.70.0-5.mga7

Download

Type URL
Mirror distrib-coffee.ipsl.jussieu.fr
Binary Package perl-Catalyst-Component-ACCEPT_CONTEXT-0.70.0-5.mga7.noarch.rpm
Source Package perl-Catalyst-Component-ACCEPT_CONTEXT-0.70.0-5.mga7.src.rpm

Install Howto

  1. Enable Mageia Core repository on Install and Remove Software
  2. Update packages list:
    # urpmi.update -a
  3. Install perl-Catalyst-Component-ACCEPT_CONTEXT rpm package:
    # urpmi perl-Catalyst-Component-ACCEPT_CONTEXT

Files

Path
/usr/share/doc/perl-Catalyst-Component-ACCEPT_CONTEXT/Changes
/usr/share/doc/perl-Catalyst-Component-ACCEPT_CONTEXT/META.yml
/usr/share/doc/perl-Catalyst-Component-ACCEPT_CONTEXT/README
/usr/share/man/man3/Catalyst::Component::ACCEPT_CONTEXT.3pm.xz
/usr/share/perl5/vendor_perl/Catalyst/
/usr/share/perl5/vendor_perl/Catalyst/Component/ACCEPT_CONTEXT.pm

Changelog

2018-09-20 - umeabot <umeabot> 0.70.0-5.mga7
(not released yet)
+ Revision: 1282062
- Mageia 7 Mass Rebuild
2017-10-09 - tv <tv> 0.70.0-4.mga7
+ Revision: 1170426
- BR perl(inc::Module::Install)
2016-06-18 - pterjan <pterjan> 0.70.0-3.mga6
+ Revision: 1022849
- Rebuild for perl 5.22.2
2016-02-09 - umeabot <umeabot> 0.70.0-2.mga6
+ Revision: 951344
- Mageia 6 Mass Rebuild

See Also

Package Description
perl-Catalyst-Component-InstancePerContext-0.1.1-10.mga7.noarch.rpm Return a new instance a component on each request
perl-Catalyst-Controller-ActionRole-0.170.0-4.mga7.noarch.rpm Apply roles to action instances
perl-Catalyst-Controller-BindLex-0.50.0-9.mga7.noarch.rpm Stash your lexical goodness
perl-Catalyst-Controller-HTML-FormFu-2.40.0-2.mga7.noarch.rpm Hidden text field which contains a unique token
perl-Catalyst-Controller-SOAP-1.250.0-5.mga7.noarch.rpm Helper controller for SOAP
perl-Catalyst-Devel-1.390.0-8.mga7.noarch.rpm Catalyst Development Tools
perl-Catalyst-DispatchType-Regex-5.900.350-4.mga7.noarch.rpm LocalRegexp DispatchType
perl-Catalyst-Engine-Apache-1.160.0-8.mga7.noarch.rpm Catalyst Apache Engines
perl-Catalyst-Log-Log4perl-1.60.0-9.mga7.noarch.rpm Integrates Log::Log4perl with Catalyst
perl-Catalyst-Manual-5.901.0-1.mga8.noarch.rpm Catalyst Manual - The Catalyst developer's manual
perl-Catalyst-Model-Adaptor-0.100.0-5.mga7.noarch.rpm Helper for the incredibly lazy
perl-Catalyst-Model-DBI-0.320.0-7.mga7.noarch.rpm Catalyst DBI Model Class
perl-Catalyst-Model-DBIC-Schema-0.650.0-9.mga7.noarch.rpm DBIx::Class::Schema Model Class
perl-Catalyst-Model-KiokuDB-0.120.0-10.mga7.noarch.rpm Use KiokuDB in your Catalyst apps
perl-Catalyst-Model-LDAP-0.210.0-2.mga7.noarch.rpm Catalyst LDAP Model Class
Advertisement
Advertisement