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.

Aaron Johnson

Ask Bjoern Hansen wrote:

> 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 mod_perl in this case is the browser.  I am using
> > the process_input() function as outlined in the MHonArc mailing list
> > archives.
> >
> > I need to save the output to a variable.  [...]
>
> What are you trying to do? It sounds an awful like you're doing
> whatever it is the wrong way. :)
>
> My brain is running in powersave mode, so maybe I am missing
> something, but why can't you just use $foo = qx[mhonarc ...] or open
> FOO, "mhonarc ...|"? ... if you really want to call mhonarc for each
> request. :)
>
>  - ask
>
> --
> ask bjoern hansen - <http://ask.netcetera.dk/>
> more than 70M impressions per day, <http://valueclick.com>


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

Reply via email to