I'm baffled; my application attempts to change the run mode via
my $q = $self->query();
$output .= $q->hidden(-name=>'rm', -default=>$which_one);
... and I have confirmed that the value does change, via Data::Dumper; yet, the
Application::run call always calls the default ( do_top ) subroutine.
Here's the setup routine:
sub setup { my $self = shift; $self->run_modes( 'top' => 'do_top', 'reboot' =>
'do_reboot', 'password' => 'do_password', 'date' => 'do_date', 'hostname' =>
'do_hostname' ); $self->start_mode('top'); $self->mode_param('rm'); }
I am running CGI::Application 2.1, Apache 1.3.23, CGI.pm 2.752; perl 5.6.1, and
mod_perl 1.26.
Thanks for any assistance.
Terry McIntyre
---------------------------------------------------------------------
Web Archive: http://www.mail-archive.com/[email protected]/
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]