http://qs321.pair.com?node_id=164639


in reply to Re: Yahtzee
in thread Yahtzee

Quote from mt2k's home node:

"Sorry, under construction!"

My idea is to have a simple window showing a page constructed by a PERL script. The page includes a meta refresh tag that refreshes the page, say, every 5th second or even more often. There wouldn't be much to refresh on the page, except for a text saying "Control page". But the script creating the page would check the status of a game, a chat board or whatever, that runs in another window, not another frame in the same window. If the game window needs redrawing, the script would redraw it (using the target attribute), otherwise only the control page window would be redrawn.

So this is a kind of faked only-when-needed redrawing technique. The visual game page might be devided into frames with one frame showing the game, another frame showing a chatboard.

Im so sorry if this is not PERL enough, but I just started with Perl and I find this monastery very interesting. It's just that I havent found a forum where Perl, HTML, CGI, Yahtzee and frames can be discussed without someone immediately pointing out that "that's not a Perl subject" or "that's not a CGI subject".