I have this Perl script sitting in the cgi-bin folder of my Apache server:
#!/usr/bin/perl use strict; use warnings; $| = 1; print \"Content-type: text/ht
Does it do what you expect when you set the content-type to text/plain? Perhaps the HTML parsing in your browser is causing the delay in the output, since you're not actually outputting valid HTML? (no or