use strict;
use warnings FATAL => 'all';
+use base qw(HTML::Zoom::StreamBase);
sub new {
my ($class, $args) = @_;
_stream => $args->{stream},
_match => $args->{match},
_filter => $args->{filter},
+ _zconfig => $args->{zconfig},
},
$class
);
}
-sub peek {
- my ($self) = @_;
- if (exists $self->{_peeked}) {
- return ($self->{_peeked});
- }
- if (my ($peeked) = $self->next) {
- return ($self->{_peeked} = $peeked);
- }
- return;
-}
-
sub next {
my ($self) = @_;