Ankur Gupta [AG], on Monday, January 31, 2005 at 19:30 (+0530) wrote these comments:
AG> to flush the contents, set at the top of your perl program. AG> $| = 1; ^ this will don't cache STDOUT, if you want flush to file, just do it like this: open FILE, ">file.txt" || die "Can't open... $!\n"; select FILE; $| = 1; select STDOUT; print FILE "something...\n"; close FILE; -- ...m8s, cu l8r, Brano. [* <- Tribble *' <- Tribble with an attitude] -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>