perl-CGI-Application-Plugin-AutoRunmode-0.16-1.noarch.rpm


Advertisement

Description

perl-CGI-Application-Plugin-AutoRunmode - CGI-Application-Plugin-AutoRunmode - CGI::App plugin to automatically register runmodes

Property Value
Distribution RPM Universal
Repository Olea all
Package filename perl-CGI-Application-Plugin-AutoRunmode-0.16-1.noarch.rpm
Package name perl-CGI-Application-Plugin-AutoRunmode
Package version 0.16
Package release 1
Package architecture noarch
Package type rpm
Homepage -
License -
Maintainer -
Download size 17.02 KB
Installed size 42.85 KB
This plugin for CGI::Application provides easy
ways to setup run modes. You can just write
the method that implement a run mode, you do
not have to explicitly register it with CGI::App anymore.
There are two approaches:
=over 4
=item Declare run modes with subroutine attributes.
You can flag methods in
your CGI::App subclass with the attribute "Runmode" or "StartRunmode" (these
attributes are case-insensitive)
=item Declare that every method in a class is a run mode.
You can assign a
delegate object, all whose methods will become runmodes
You can also mix both approaches.
Delegate runmodes receive two parameters: The first one is the CGI::App
instance, followed by the delegate instance or class name. This can be useful
if you have delegate objects that contain state.
It is possible to chain multiple delegates by specifying an array reference
containing the delegate instances or class names. This chain is
checked from left to right and the runmode will be delegated to the first match.
=back
It both cases, the resulting runmodes will have the same
name as the subroutine that implements them. They are activated
by a cgiapp_prerun hook provided by this plugin (if
you are using CGI::Application older than version 4, hooks
are not available, and you can import a cgiapp_prerun method
instead).

Alternatives

Package Version Architecture Repository
perl-CGI-Application-Plugin-AutoRunmode - - -

Requires

Name Value
perl(CGI::Application) -
perl(Carp) -
perl(Exporter) -
perl(strict) -

Provides

Name Value
perl(CGI::Application::Plugin::AutoRunmode) = 0.16
perl(CGI::Application::Plugin::AutoRunmode::FileDelegate) = 0.13
perl-CGI-Application-Plugin-AutoRunmode = 0.16-1

Download

Type URL
Mirror olea.org
Binary Package perl-CGI-Application-Plugin-AutoRunmode-0.16-1.noarch.rpm
Source Package perl-CGI-Application-Plugin-AutoRunmode-0.16-1.src.rpm

Install Howto

  1. Download latest olea-repo-release rpm from
    http://olea.org/paquetes-rpm/
  2. Install olea-repo-release rpm:
    # rpm -Uvh olea-repo-release*rpm
  3. Install perl-CGI-Application-Plugin-AutoRunmode rpm package:
    # yum install perl-CGI-Application-Plugin-AutoRunmode

Files

Path
/usr/local/lib/perl5/site_perl/5.10.0/CGI/
/usr/local/lib/perl5/site_perl/5.10.0/CGI/Application/
/usr/local/lib/perl5/site_perl/5.10.0/CGI/Application/Plugin/AutoRunmode.pm
/usr/local/lib/perl5/site_perl/5.10.0/CGI/Application/Plugin/AutoRunmode/FileDelegate.pm
/usr/local/share/
/usr/local/share/man/
/usr/local/share/man/man3/CGI::Application::Plugin::AutoRunmode.3pm
/usr/local/share/man/man3/CGI::Application::Plugin::AutoRunmode::FileDelegate.3pm
/usr/share/doc/perl-CGI-Application-Plugin-AutoRunmode-0.16/Changes
/usr/share/doc/perl-CGI-Application-Plugin-AutoRunmode-0.16/README
/usr/share/doc/perl-CGI-Application-Plugin-AutoRunmode-0.16/AutoRunmode/FileDelegate.pm

Changelog

2009-06-12 - olea@lisergia.olea.org
- Initial build.

See Also

Package Description
perl-CGI-Application-Plugin-Config-YAML-0.01-1.noarch.rpm CGI-Application-Plugin-Config-YAML - add Config::YAML support to CGI::Application
perl-CGI-Application-Plugin-Session-1.03-1.noarch.rpm CGI-Application-Plugin-Session - Perl module
perl-CGI-Application-Plugin-TT-1.04-1.noarch.rpm CGI-Application-Plugin-TT - Perl module
perl-Class-MOP-0.85-1.i686.rpm Class-MOP - A Meta Object Protocol for Perl 5
perl-Config-YAML-1.42-1.noarch.rpm Config-YAML - Simple configuration automation
perl-Crypt-DH-GMP-0.00010-1.fc16.i686.rpm Crypt::DH Using GMP Directly
perl-Data-Random-0.05-1.noarch.rpm Data-Random - Perl module to generate random data
perl-Digest-SHA1-2.11-1.i686.rpm Digest-SHA1 - Perl interface to the SHA-1 algorithm
perl-Filter-Simple-0.82-1.noarch.rpm Simplified source filtering
perl-HTML-Parser-3.60-1.i686.rpm HTML-Parser - HTML parser class
perl-HTTP-Lite-2.1.6-1.noarch.rpm HTTP-Lite - Lightweight HTTP implementation
perl-IO-stringy-2.110-1.noarch.rpm IO-stringy - stringy - I/O on in-core objects like strings and arrays
perl-Jcode-0.83-1.i386.rpm Autogenerated package for Jcode
perl-Mail-DKIM-0.33_6-1.noarch.rpm Mail-DKIM - Signs/verifies Internet mail with DKIM/DomainKey signatures
perl-Mail-DKIM-0.36_5-1.noarch.rpm Mail-DKIM - Signs/verifies Internet mail with DKIM/DomainKey signatures
Advertisement
Advertisement