On Sun, 27 May 2001, barries wrote: > Since you've done the tieing STDIN/STDOUT bit in the past (1.x), why not > tie STDIN and STDOUT in modperl_output_filter_handler()? That would make > filter sub code bit less funky: > > sub handler { > while (<>) { > print uc ; > } > } > > STDIN/STDOUT would then be restored to their original state (tied or > untied) up exit? there are Apache::Filter::{TIEHANDLE,PRINT} methods, the tie just isn't done automatic for you. partly because the tied interface isn't complete. > If the reason is "tied handles are slow" how about having a PerlIO layer > pair that gets swapped in for STDIN and STDOUT, then swapped back? i do plan to add PerlIO support (first for the request_rec), but we still need to have tiehandles as a fallback for 5.6.x. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]