AW: SV: Moving STDOUT to a new handle?

2004-11-09 Thread Denis Banovic
anymore my $stdout = select; select $fh; write $self->{output}->(@_); select $stdout; } Denis -Ursprüngliche Nachricht- Von: Arne Skjaerholt [mailto:[EMAIL PROTECTED] Gesendet: Montag, 8. November 2004 23:20 An: Rob Kinyon; [EMAIL PROTECTED] Betreff: S

SV: SV: Moving STDOUT to a new handle?

2004-11-08 Thread Arne Skjaerholt
> From: Rob Kinyon [EMAIL PROTECTED] > FYI: C::A has a plugin that will make it work (mostly) seamlessly with > mod_perl called CGI::Application::Apache. Hmm. I can't find CGI::Application::Apache on CPAN, only CGI::Application::Plugin::Apache, which, unfortunately for me, doesn't do any STDOUT

Re: SV: Moving STDOUT to a new handle?

2004-11-08 Thread William McKee
On Mon, Nov 08, 2004 at 07:17:21PM +0100, Arne Skjaerholt wrote: > And, as I think of it, I don't think it'd be terribly useful as > CGI::Application is intended for use with CGI scripts, not mod_perl > handlers. This is not true. Several folks on the C::A list, including myself, are using it in c

SV: Moving STDOUT to a new handle?

2004-11-08 Thread Arne Skjaerholt
> This might be a lame response, but I would first look at CGI::Application > and see how they go about doing this. It's a good idea, but having looked at the code on CPAN it seems that CGI::Application doesn't do anything with STDOUT, it only states (repeatedly) that at no point should anyone