package Foo; use base 'CGI::Application'; sub setup { my $self = shift; $self->start_mode('mode1'); $self->run_modes( mode1 => 'mode1' ); } sub mode1 { my $self = shift; $self->header_add( -location => '/bar.pl?rm=mode2' ); } 1;
In reply to Re: CGI::Application and server side request forwarding
by friedo
in thread CGI::Application and server side request forwarding
by johnnywang
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |