in reply to A Simple "Tail" Question
You're on the right track....Mick
All you really have to do is ensure that the output is going to STDOUT and use CGI.pm to create your header/content type/html stuff. You may want to 'unbuffer' your output with $|=1; as well.
In Section
Seekers of Perl Wisdom