perl-Catalyst-Component-ACCEPT_CONTEXT-0.07-alt1.noarch.rpm


Advertisement

Description

perl-Catalyst-Component-ACCEPT_CONTEXT - Make the current Catalyst

Property Value
Distribution ALT Linux Sisyphus
Repository Autoimports noarch
Package name perl-Catalyst-Component-ACCEPT_CONTEXT
Package version 0.07
Package release alt1
Package architecture noarch
Package type rpm
Installed size 9.84 KB
Download size 9.84 KB
Official Mirror ftp.altlinux.org
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 - - -

Requires

Name Value
/usr/share/perl5 -
perl(MRO/Compat.pm) -
perl(Scalar/Util.pm) -
rpmlib(PayloadIsLzma) -

Provides

Name Value
perl(Catalyst/Component/ACCEPT_CONTEXT.pm) = 0.070
perl-Catalyst-Component-ACCEPT_CONTEXT = 0.07-alt1

Download

Type URL
Binary Package perl-Catalyst-Component-ACCEPT_CONTEXT-0.07-alt1.noarch.rpm
Source Package perl-Catalyst-Component-ACCEPT_CONTEXT-0.07-alt1.src.rpm

Install Howto

  1. Add the following line to /etc/apt/sources.list:
    
    rpm [Sisyphus] http://ftp.altlinux.org/pub/distributions/ALTLinux/autoimports/Sisyphus noarch autoimports
    rpm [Sisyphus] http://ftp.altlinux.org/pub/distributions/ALTLinux/autoimports/Sisyphus noarch autoimports
    
  2. Update the package index:
    # sudo apt-get update
  3. Install perl-Catalyst-Component-ACCEPT_CONTEXT rpm package:
    # sudo apt-get install perl-Catalyst-Component-ACCEPT_CONTEXT

Files

Path
/usr/share/doc/perl-Catalyst-Component-ACCEPT_CONTEXT-0.07/Changes
/usr/share/doc/perl-Catalyst-Component-ACCEPT_CONTEXT-0.07/README
/usr/share/perl5/Catalyst/
/usr/share/perl5/Catalyst/Component/ACCEPT_CONTEXT.pm

See Also

Package Description
perl-Catalyst-Component-WithDelayedSetup-0.002-alt2.noarch.rpm Delay setup of application scoped Catalyst Components
perl-Catalyst-ComponentRole-PathFrom-0.002-alt1.noarch.rpm Encapsulate a common Catalyst Pattern for getting a path
perl-Catalyst-Contoller-View-0.01-alt1.noarch.rpm Catalyst Controller that directly delegates to View
perl-Catalyst-Controller-Accessors-0.003003-alt1.noarch.rpm Accessors for a namespaced stash
perl-Catalyst-Controller-ActionRole-0.17-alt1_11.noarch.rpm Apply roles to action instances
perl-Catalyst-Controller-AllowDisable-0.08-alt1.noarch.rpm DEPRECATED
perl-Catalyst-Controller-AutoAssets-0.40-alt1.noarch.rpm Automatic asset serving via sha1-based URLs
perl-Catalyst-Controller-BindLex-0.05-alt1_9.noarch.rpm Stash your lexical goodness
perl-Catalyst-Controller-Combine-0.15-alt1.noarch.rpm Combine JS/CSS Files
perl-Catalyst-Controller-DBIC-API-2.007002-alt1.noarch.rpm Provides a DBIx::Class web service automagically
perl-Catalyst-Controller-DirectoryDispatch-1.03-alt1.noarch.rpm Simple directory listing with built in url dispatching
perl-Catalyst-Controller-ElasticSearch-0.1.0-alt1.noarch.rpm Thin proxy for ElasticSearch with some protection
perl-Catalyst-Controller-FlashRemoting-0.02-alt1.noarch.rpm Catalyst controller for Flash Remoting
perl-Catalyst-Controller-FormBuilder-0.06-alt1_23.noarch.rpm Catalyst FormBuilder Base Controller
perl-Catalyst-Controller-FormBuilder-MultiForm-0.03-alt1.noarch.rpm Multiple forms per template with Catalyst::Controller::FormBuilder
Advertisement
Advertisement