$| is a system-variabele for buffering. With 1, you're activcating it.

--------------
Bob Erinkveld (Webmaster Insane Hosts)
www.insane-hosts.net
MSN: [EMAIL PROTECTED]




From: Admin-Stress <[EMAIL PROTECTED]>
To: perl cgi <[EMAIL PROTECTED]>
Subject: solved (was Re: any idea to solve this problem?)
Date: Tue, 17 Dec 2002 07:52:25 -0800 (PST)

Hi,

It solved by putting this codes for flushing cgi output :

$|=1;
sleep 5;

It was suggested by someone.
Anyone can explain, what does $|=1 means?

kapot

--- Larry Coffin <[EMAIL PROTECTED]> wrote:
> >I was wondering if I can 'flush' the cgi operation, so in SAVE_CONFIG.PL
> >will be like this :
>
> > Ok "Configuration saved.";
> >
> > flush_cgi_operation;
> > # so, cgi output is written in the user browser
>
> How about just closing STDOUT -- 'close(STDOUT);'? That should
> close the filehandle and flush the output. Whether that results in the
> output getting pushed on through to the web client and the connection being
> closed or not may depend on the server software you are using.
>
> ---Larry


__________________________________________________
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com

--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

_________________________________________________________________
Ontvang je Hotmail & Messenger berichten op je mobiele telefoon met Hotmail SMS http://www.msn.nl/jumppage/


--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to