Hi, thanks for the quick feedback.
> > The commit in question is 932875. The functions to do the above are > C<modperl_io_perlio_override_stdhandle()> and > C<modperl_io_perlio_restore_stdhandle()> in > F<src/modules/perl/modperl_io.c>. > > They use C<gv_fetchpv("STDIN", GV_ADD, SVt_PVIO);> to get the handle. > [[GR]] I tried this already but I don't know how to convert the result into something that I can pass to PerlIO_write as first argument. Also simply using PerlIO_stdout () as first argument doesn't work (this still goes to the real stdout not the mod_perl one). Any hints? Or should I use some other function instead of PerlIO_write? > Note, all this is only done if the handler is C<perl-script>. For C<modperl> > handlers STD handles are not set up. [[GR]] Yes, I am aware of this Thanks Gerald --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@perl.apache.org For additional commands, e-mail: dev-h...@perl.apache.org