On Fri, 8 Feb 2002 18:35:06 +1100 , [EMAIL PROTECTED] wrote:
>Jerome Quelin wrote:
>> I think the arbiter program could (should?) be a module, but not
>> the "client" part.
>
>Agreed. We should make things as easy as possible for the "customer".
>No modules to install. Just download and run the test program.
>I also feel it essential to support at least Windows (both NT
>and 95/98) and Unix clients.
I think the main problem on Win95/98 is capturing STDERR, isn't it? The
module installation modules, ExtUtils::MakeMaker, have (or have had) the
same problem.
At least, this appears to be working:
#! perl -l
open STDERR, ">errors.txt";
warn "This goes to the file, date = ".localtime
print "Result: " . `perl otherscript.pl`;
If the other script contains a syntax error, all of the error messages
end up in the file.
Redirecting to another file handle doesn't work. You need the file.
--
Bart.