
Cgi::application::plugin::forward adds the forward method to your cgi::application module, which 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.