NAME

Senna::Snippet - Wrapper for sen_snip

SYNOPSIS

my $snippet = Senna::Snippet->new({
  encoding    => $encoding
  flags       => $flags
  width       => $width,
  max_results => $max_results,
  tags        => [ $opentag, $closetag ]
});

$snippet->exec({ string => $string });
while (my $snip = $snippet->next) {
   ...
}

METHODS

add_cond

close

exec

get_result

new

next

open

rewind