Thanks very much. That did the trick.

Steve

On 13 Feb 2001, at 17:04, Stas Bekman wrote:

> On Mon, 12 Feb 2001, Stephen Gailey wrote:
> 
> > Help with Apache::SubProcess needed.
> >
> > I have tried the example for running a long duration task from Mod
> > Perl, as found in the performance tuning guide, but I get the
> > following error:
> >
> > [error] Can't locate object method "cleanup_for_exec"
> >  via package "Apache" at
> > /usr/local/apachessl/handlers/wrapper_handler line 22
> >
> > I am using the script right off the page and I have downloaded (from
> > CPAN) and installed SubProcess. any ideas?
> 
> I've released a new version of the guide, but Doug didn't have a
> chance to release a new version of this module with a new function
> yet. Just apply this patch and recompile:
> 
> -- SubProcess.xs.orig  Sat Sep 25 19:17:12 1999
> +++ SubProcess.xs       Tue Dec 19 21:03:22 2000
> @@ -103,6 +103,14 @@
>         XPUSHs(io_hook(ioep, io_hook_read));
>      }
> 
> +
> +void
> +ap_cleanup_for_exec(r)
> +    Apache r
> +
> +    CODE:
> +    ap_cleanup_for_exec();
> +
>  int
>  ap_call_exec(r, pgm=r->filename)
>      Apache r
> 
> _____________________________________________________________________
> Stas Bekman              JAm_pH     --   Just Another mod_perl Hacker
> http://stason.org/       mod_perl Guide  http://perl.apache.org/guide
> mailto:[EMAIL PROTECTED]   http://apachetoday.com http://logilune.com/
> http://singlesheaven.com http://perl.apache.org http://perlmonth.com/
> 
> 
> 


Reply via email to