Well, in the beginning of every script, the $|=1 should be placed. Am i right?
----- Original Message ----- From: "Tim Johnson" <[EMAIL PROTECTED]> To: "John" <[EMAIL PROTECTED]>; "Perl Beginners" <[EMAIL PROTECTED]> Sent: Sunday, November 16, 2003 10:39 AM Subject: RE: What $| actually does? > > The autoflush($|) variable is very useful, especially for debugging, so that you can monitor the printed output of your script in real time. One thing to watch out for that most people miss the first time they read the docs, though, is that you need to select() your filehandle before you use it, otherwise you're just autoflushing STDOUT. Oh, and don't forget to select() STDOUT afterwards, or all of your print statements will go to that filehandle by default. > > > -- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]