perl-CGI-Application-Plugin-Forward-1.60.0-9.mga6.noarch.rpm

Description

perl-CGI-Application-Plugin-Forward - Pass control from one run mode to another

Property

Value

Distribution

Mageia Cauldron

Repository

Mageia Core i586

Package name

perl-CGI-Application-Plugin-Forward

Package version

1.60.0

Package release

9.mga6

Package architecture

noarch

Package type

rpm

Installed size

19.31 KB

Download size

16.17 KB

Official Mirror

distrib-coffee.ipsl.jussieu.fr

The forward method passes control to another run mode and returns its
output. This is equivalent to calling '$self->$other_runmode', except that
the CGI::Application manpage's internal value of the current run mode is
updated.
This means that calling '$self->get_current_runmode' after calling
'forward' will return the name of the new run mode. This is useful for
modules that depend on the name of the current run mode such as the
CGI::Application::Plugin::AnyTemplate manpage.
For example, here's how to pass control to a run mode named 'other_action'
from 'start' while updating the value of 'current_run_mode':