Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re: A Simple

by perlcgi (Hermit)
on Apr 25, 2001 at 18:06 UTC ( #75455=note: print w/replies, xml ) Need Help??


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 CGI.pm.

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

    -thabenksta

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

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://75455]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (4)
As of 2022-11-26 21:56 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Notices?