- Name: perl-CGI-Application-Plugin-Forward
- Version: 1.60.0
- Release: 12.mga9
- Epoch:
- Group: Development/Perl
- License: GPL+ or Artistic
- Url: https://metacpan.org/release/CGI-Application-Plugin-Forward
- Summary: Pass control from one run mode to another
- Architecture: noarch
- Size: 19772
- Distribution: Mageia
- Vendor: Mageia.Org
- Packager: umeabot <umeabot>
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':
- OptFlags: -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables
- Cookie: localhost 1647957018
- Buildhost: localhost
Sources packages:
Other version of this rpm: