http://qs1969.pair.com?node_id=75420

lindex has asked for the wisdom of the Perl Monks concerning the following question:

So I have a log file, I know how to open it and make perl do a "tail" on said log file so that I can see the file getting updated as it gets updated. But what if I wanted to write a cgi script or mod_perl handler/script todo this, how would I go about "streaming" the data to a browser? Is it all a header trick? or is there more to it then that?


lindex
/****************************/ jason@gost.net, wh@ckz.org http://jason.gost.net /*****************************/

Edited 2001-04-05 by Ovid