Create a trie in perl
<p>Objective is to create a trie data structure. I had seen <a href="http://search.cpan.org/~avif/Tree-Trie-1.5/Trie.pm" rel="nofollow"><code>Tree::Trie</code></a> and used it. It converts data into trie structure only after the file(database) is read. So this will make processing slow as each time a lookup is needed entire data is converted into trie.</p>

<p>Is there a way where I can create a trie for one time and use it the trie structure for lookups.</p>