develooper Front page | perl.perl5.porters | Postings from March 2000

Re: [ID 20000316.010] CPAN modules status

From:
Tom Christiansen
Date:
March 17, 2000 20:57
Subject:
Re: [ID 20000316.010] CPAN modules status
Message ID:
11157.953355418@chthon
>I'm currently leaning towards robustness (i.e. no interception), but
>I'm open to suggestions. Maybe with the help of an Expect-like module
>one could play on a safe ground, I don't know.

I don't think you need do anything so sophisticated as all that,
at least in order to address the particular issue under discussion.
Why don't you glance at the code I sent and see whether you mightn't
use such an approach?  What I've effectively done is tee off the
diagnostic stream alone for simplistic inspection, but left stdin
and stdout completely as they were.  Meanwhile, stderr--which is
where the pollution problems would manifest if they were going to
do so--fortuitously happens to be unbuffered, so everything moves
in and out without the customary constipation such games tend to
run afoul of.

Just a thought.

--tom



nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About