Make an array of actions. Pop off the first item and use that to determine the first level sub to call. Pass that first level call the rest of the actions to be executed. Lather, rinse, repeat.
Update: After thinking about it more, this seems similar to the chapter on multiple dispatch in Object Oriented Perl. If you have access to a copy, check it out (chapter 14 or 15, IMSMR) and see if it offers any enlightenment.
In reply to Re: Improved CGI Design
by Fletch
in thread Improved CGI Design
by Dogma
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |