Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re: Re: CGI and Redirect/URI/Location

by LeGo (Chaplain)
on Jun 19, 2001 at 02:28 UTC ( [id://89505]=note: print w/replies, xml ) Need Help??


in reply to Re: CGI and Redirect/URI/Location
in thread CGI and Redirect/URI/Location

Just curious as to what difference $| being set to 1 makes in this code.

LeGo

Replies are listed 'Best First'.
Re: Re: Re: CGI and Redirect/URI/Location
by Zaxo (Archbishop) on Jun 19, 2001 at 04:37 UTC

    That sets autoflush on STDOUT, meaning that 'print "foo";' is sent promptly. In most cases your script will end right after the redirect call, but for long-running scripts it's a courtesy to the client.

    After Compline,
    Zaxo

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others sharing their wisdom with the Monastery: (4)
As of 2024-04-20 02:08 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found