in reply to Re: CGI Design
in thread CGI Design

However, in your example, you are calling subroutines with no arguments and no return types.

You caught me writting coupled code. The reason being that I'm still using a CGI object and that I'd have to pass a reference into every single function to make it truely decoupled. I was going to be lazy and move the functions into a module and then pass the CGI object into that namespace through a constructor. However I think I'll look into a dispatch model along the lines you suggest.

Thanks,

-Dogma