I've been writing perl scripts and perl CGIs for quite a while now. But all of my scripts/pages/cgi follow the design of:
1) get something from user
2) do something with that data
3) generate and display html
Nothing fancy, and I don't use CGI.pm. I've just always generated and printed my own html, what can I say? I'm a control freak.
Some newer projects I'm working on could benefit from not doing constant GETs or constantly refreshing a page. For example, I'd like to have a page that could be broken up using frames or tables or whatever and stream text to each one of those frames/cells without doing constant GETs/refreshes. Something like multitail for a web page. That's just an example, not necessarily what I'm doing though. I'm just trying to get around the constant requests for data from the client, same thing with refreshes.
So my question is, what's the best way to approach this?