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]