Making a source

Andy Armstrong andy at hexten.net
Wed Jun 25 22:41:42 UTC 2008


So how do we now create a stream that's based on TAP::Parser::Source  
to pass to the TAP::Parser constructor? TAP::Parser::Source needs a  
parser arg - so you can't create one /before/ creating the parser.

And, hey, I wouldn't complain but it's totally pooped on my test  
harness at work :)

In general the problem is that the TAP::Parser is the factory for  
everything else - so it's hard to make anything else without having  
already created the parser. I would have thought that we should  
instead have the factory as a distinct object, no?

-- 
Andy Armstrong, Hexten





More information about the tapx-dev mailing list