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
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: A Simple
by mrmick (Curate) on Apr 25, 2001 at 16:34 UTC | |
Re: A Simple
by c-era (Curate) on Apr 25, 2001 at 16:37 UTC | |
by lindex (Friar) on Apr 25, 2001 at 16:41 UTC | |
by one4k4 (Hermit) on Apr 25, 2001 at 17:15 UTC | |
Re: A Simple
by perlcgi (Hermit) on Apr 25, 2001 at 18:06 UTC | |
by thabenksta (Pilgrim) on Apr 25, 2001 at 18:16 UTC | |
Re: A Simple "Tail" Question
by mlong (Sexton) on Apr 25, 2001 at 19:11 UTC | |
Re: A Simple
by Caillte (Friar) on Apr 25, 2001 at 18:56 UTC | |
Re: A Simple . "Tail" Question
by lindex (Friar) on Apr 25, 2001 at 16:27 UTC |
Back to
Seekers of Perl Wisdom