> ----------------------- > /usr/local/apache2/cgi-perl/warreng/header_test.pl: > > #!/usr/bin/perl > print 'allen';
Should be print OUT 'allen' ; Or you have to put a select(OUT) ; At the top of your script. > > Finally, I added the line: > > select((select(STDOUT), $| = 1)[0]); > > in header_test.pl. > > Now, 'allen' is printed *before* 'output:' is printed. > That's because STDOUT goes directly to the client, while OUT goes via Embperl. Gerald --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]