package HTML::Zoom::FilterBuilder;
-use Devel::Dwarn;
-
use strict;
use warnings FATAL => 'all';
use HTML::Zoom::CodeStream;
require HTML::Zoom::Parser::BuiltIn;
return HTML::Zoom::Parser::BuiltIn->html_to_stream($$proto);
}
- die "What the hell is $proto and how should I turn a $ref into a stream?";
+ die "Don't know how to turn $proto (ref $ref) into a stream";
}
sub _stream_concat {
return unless $source_stream;
my $next;
until (($next) = ($cur_stream ? $cur_stream->next : ())) {
-#::Dwarn $source_stream;
unless (($cur_stream) = $source_stream->next) {
undef $source_stream; return;
}
}
-#::Dwarn $next;
return $next;
}
});
use warnings FATAL => 'all';
use Test::More;
-use Devel::Dwarn;
-
use HTML::Zoom::Parser::BuiltIn;
use HTML::Zoom::Producer::BuiltIn;
use HTML::Zoom::SelectorParser;