Tap Streams

2006-07-18 Thread Ovid
Hi all, Just a quick question, mainly aimed at Schwern since he's most familiar with TAP::Harness, though others with thoughts should definitely chime in. To handle streams, I am thinking of this: my $parser = TAPx::Parser->new; while ( defined ( my $chunk = $tap_stream->next ) ) { my

Re: Tap Streams

2006-07-18 Thread Randy W. Sims
Ovid wrote: Hi all, Just a quick question, mainly aimed at Schwern since he's most familiar with TAP::Harness, though others with thoughts should definitely chime in. To handle streams, I am thinking of this: my $parser = TAPx::Parser->new; while ( defined ( my $chunk = $tap_stream->next

Re: Tap Streams

2006-07-19 Thread Michael G Schwern
On 7/18/06, Randy W. Sims <[EMAIL PROTECTED]> wrote: The dependency on the stream interface is not necessarily bad; it would just mean pushing the decoupling up a level: let the stream abstract away the details of reading bits from some source. Your above example would allow: my $parser = TAP