Re: Using MHonArc inside of mod_perl

2000-11-29 Thread Ask Bjoern Hansen
On Mon, 27 Nov 2000, Aaron Johnson wrote: I am trying to get the MHonArc package to work in conjunction with an in house module. When MHonArc (http://www.mhonarc.org) is run and told to process a single file instead of a directoy full of files, it sends the output to STDOUT which inside of

Re: Using MHonArc inside of mod_perl

2000-11-29 Thread Aaron Johnson
Thanks for the replies from people on the list. I solved my problem with the suggestion from Chris Nokleberg. He suggested the IO::String module. It did the trick. I had been using the qx function previously, but I needed variables from within my module to be available inside of MHonArc.

Re: Using MHonArc inside of mod_perl

2000-11-28 Thread darren chamberlain
Aaron Johnson ([EMAIL PROTECTED]) said something to this effect: I am trying to get the MHonArc package to work in conjunction with an in house module. When MHonArc (http://www.mhonarc.org) is run and told to process a single file instead of a directoy full of files, it sends the output to

Using MHonArc inside of mod_perl

2000-11-27 Thread Aaron Johnson
I am trying to get the MHonArc package to work in conjunction with an in house module. When MHonArc (http://www.mhonarc.org) is run and told to process a single file instead of a directoy full of files, it sends the output to STDOUT which inside of mod_perl in this case is the browser. I am

Re: Using MHonArc inside of mod_perl

2000-11-27 Thread Stas Bekman
On Mon, 27 Nov 2000, Aaron Johnson wrote: I am trying to get the MHonArc package to work in conjunction with an in house module. When MHonArc (http://www.mhonarc.org) is run and told to process a single file instead of a directoy full of files, it sends the output to STDOUT which inside of

How do I redirect STDOUT to a string WAS Using MHonArc inside of mod_perl

2000-11-27 Thread Aaron Johnson
After one response and my own re-read of my first email, it appears that I have asked far too vague a question. The correct question is: How do I redirect STDOUT to a string? A suggestion was to tie a string to a filehandle and dup the filehandle to STDOUT. Is that valid? If it is, how in blue

Re: Using MHonArc inside of mod_perl

2000-11-27 Thread Ken Williams
Perhaps you just need to use Apache::Filter? If not, you can cannibalize some of the code in Apache::Filter, it re-ties STDOUT. [EMAIL PROTECTED] (Aaron Johnson) wrote: I am trying to get the MHonArc package to work in conjunction with an in house module. When MHonArc (http://www.mhonarc.org)