Doh - accidentally sent before finishing my thought!
This is the part where I think it'd be nice to have some help
from CGI::Application.
If the action simply returned the state, in your example:
return $FORM{return_rm};
And then the CGI::Application picked up on that return and dispatched again
as necessary, from my example, looking $FORM{return_rm} up from a
config/hash/etc. to find out that it needed to call another run-mode...
which might actually return HTML (i.e. the form), or might chain to another
action, etc.
I'd say your example shows a real-world situation using the action chaining
I'm talking about. Just seems a bit of a kludge to have an 'eval' doing your
dirty work. <grin>
Cheers,
Timo :-)
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]