Package : perl-CGI-Application-Plugin-Forward > RPM : perl-CGI-Application-Plugin-Forward-1.60.0-12.mga9.src.rpm
Basic items
Name | perl-CGI-Application-Plugin-Forward |
Version | 1.60.0 |
Release | 12.mga9 |
URL | https://metacpan.org/release/CGI-Application-Plugin-Forward |
Group | Development/Perl |
Summary | Pass control from one run mode to another |
Size | 13KB |
Arch | noarch |
License | GPL+ or Artistic |
Description
The forward method passes control to another run mode and returns its
output. This is equivalent to calling '$self->$other_runmode', except that
CGI::Application'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
CGI::Application::Plugin::AnyTemplate.
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':
output. This is equivalent to calling '$self->$other_runmode', except that
CGI::Application'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
CGI::Application::Plugin::AnyTemplate.
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':
Media information
Distribution release | Mageia cauldron |
Media name | core-release |
Media arch | i586 |
Advanced items
Source RPM | NOT IN DATABASE ?! |
Build time | 2022-03-22 14:50:18 |
Changelog | View in Sophie |
Files | View in Sophie |
Dependencies | View in Sophie |