Re: Read from Apache error.log

2005-03-27 Thread Stas Bekman
Femi Oshagbemi wrote: Hello, im very new to the perl, modperl and apache combination. I was wondering if it is somehow possible to read the apache error.log input just after each execution of a procedure? I am invoking another program from within my perl module using a 'System(...)' call. Althou

Re: Read from Apache error.log

2005-03-27 Thread Clinton Gormley
> Admittedly, I should have read your original post more closely. The program > your calling with system fails, not the system call itself, so eval would not > catch this. Have you considered using the backtick operator and inspect the > output for errors? This might not be feasible if the ca

Re: Read from Apache error.log

2005-03-27 Thread Rodger Castle
> I had Initially tried using 'eval' however it seemed to me that no > exceptions were thrown by the function call within the eval {system...} but > within the called program itself, I may be wrong. In either case that method > brought me no success unfortunately. Admittedly, I should have read

Re: Read from Apache error.log

2005-03-27 Thread Femi Oshagbemi
ger Castle <[EMAIL PROTECTED]> To: modperl@perl.apache.org Subject: Re: Read from Apache error.log Date: Sun, 27 Mar 2005 06:59:44 -0500 > Hello, im very new to the perl, modperl and apache combination. > So am I, but I think I have a usable solution for you. > I am invoking another pr

Re: Read from Apache error.log

2005-03-27 Thread Rodger Castle
> Hello, im very new to the perl, modperl and apache combination. > So am I, but I think I have a usable solution for you. > I am invoking another program from within my perl module using a > 'System(...)' call. Although the call is successfull, there are times when > the invoked program may t

Read from Apache error.log

2005-03-27 Thread Femi Oshagbemi
Hello, im very new to the perl, modperl and apache combination. I was wondering if it is somehow possible to read the apache error.log input just after each execution of a procedure? I am invoking another program from within my perl module using a 'System(...)' call. Although the call is success