On Sat, 22 Nov 2003 10:14:38 -0500, Teresa Raymond wrote:
> This script 
> prints "Here we go" but never prints "Database connected". I used the 
> format that the hosting company supplied. 
Teresa,

        your script seems fine to me... but you might want to read the documentation 
of the auto-flush flag.

                $|

                $OUTPUT_AUTOFLUSH

                If set to nonzero, forces an fflush(3) after every write or print on 
the currently selected output channel.

        In perl everything is normally written through the use of buffers. Meaning: an 
unspecified amount of content has to accrue before it is printed. To get around this 
limitation you can set $| to 1 and then start with the rest of your script. Now 
everything will be printed instantly.

hope this helps...
/oliver/


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

Reply via email to