in reply to A Simple "Tail" Question

When returning output over a period of time (eg displaying unbuffered results of a slow operation in 'real' time) you may need to use NPH (No Parsed Headers) where the script undertakes to print the entire HTTP response including all necessary header fields. The HTTPD is thereby instructed not to parse the headers (as it would normally do) nor add any which are missing. If you are using Apache 1.3 or later forget about this, as it no longer buffers CGI output.

Replies are listed 'Best First'.
Re: Re: A Simple
by thabenksta (Pilgrim) on Apr 25, 2001 at 18:16 UTC

    This can easily be done with

    print $q->header(-nph=>1);


    my $name = 'Ben Kittrell'; $name=~s/^(.+)\s(.).+$/\L$1$2/g; my $nick = 'tha' . $name . 'sta';