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?

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?

- Barrie

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to