in reply to Re: designing a dispatch class
in thread designing a dispatch class
ultimately, i need to do something like:
there are enough actions that even a hash-based dispatch table would get ugly.my $foo; $foo = MyModule::ActionSet1->new() if ( condition ); $foo = MyModule::ActionSet2->new() if ( condition2 ); $foo->process(); print $foo->output();
it could split into a set of CGI::Application-based classes, which is perfect for CGI::Application::Dispatch-based applications. but i'm not sure that's the direction i *should* be going.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: designing a dispatch class
by tlm (Prior) on Mar 30, 2005 at 23:35 UTC |