in reply to Re: How to stream output to html page?
in thread How to stream output to html page?
Runs#!/usr/bin/perl -wT use strict; use warnings 'FATAL' => 'all'; use CGI ':standard'; use 5.010000; $|++; print header; print start_html('Dots'); say 'One dot per second.<br>'; for ( 1 .. 30 ) { print '. '; sleep 1; } print end_html;
Update: Removed dead link.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: How to stream output to html page?
by akho (Hermit) on Mar 01, 2008 at 21:41 UTC |