When I do this kind of thing, I put the logic in the handling runmode
I don't think this will work very well. Often, mainscreen() itself took input from some other form. Now I'll need to pile on yet more logic inside mainscreen() to know which runmode it's being called by.
I don't see a solution with C::A that doesn't involve pileing on a lot of additional logic. It seems very good for applications that have a simple, linear progression through the pages (start -> A -> B -> C -> finish). It breaks down fast for more complex structures.
"There is no shame in being self-taught, only in not trying to learn in the first place." -- Atrus, Myst: The Book of D'ni.
|Replies are listed 'Best First'.|
Re^4: Review: CGI::Prototype
by Joost (Canon) on Dec 02, 2004 at 15:57 UTC
by Purdy (Hermit) on Dec 02, 2004 at 16:09 UTC