Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re: A Simple

by perlcgi (Hermit)
on Apr 25, 2001 at 18:06 UTC ( [id://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?Last hourOther CB clients
Other Users?
Others wandering the Monastery: (None)
    As of 2024-04-19 00:22 GMT
    Sections?
    Information?
    Find Nodes?
    Leftovers?
      Voting Booth?

      No recent polls found