> form, thanks, and error map quite naturally to run-modes.  But how to
> handle validation?  I tried to make it a seperate run-mode and in the
> associated subroutine
<snip>

Rather than do thast in a run-mode (and thus after the run-mode is
selected), do it in setup() (before the run-mode is entered).

Alternatively, leave validation as a run-mode, and have your code like
this:

if($valid) {
  return $self->thanks_routine();
} else {
  return $self->error_routine();
}




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to