Permalink
Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
12 lines (7 sloc) 167 Bytes
use Tree::Suffix;
$tree = Tree::Suffix->new;
$tree->insert("apple\t32", "banana\t45", "appley\t38");
@pos = $tree->find("appl");
for (@pos) {
print "pos: $_\n"
}