NAME

PLS::Node

DESCRIPTION

Node within a PLS::Trie.

NAME

PLS::Trie

DESCRIPTION

A trie for fast searching of a word by prefix.

SYNOPSIS

my $trie = PLS::Trie->new();
$trie->insert('me', 'me');
$trie->insert('met', 'met');
$trie->insert('method', 'method');
$trie->find('me') # ['me', 'met', 'method']
$trie->find('met') # ['met', 'method']
$trie->find('meth') # ['method']