The stupid question is the question not asked | |
PerlMonks |
A question a Tree::Trieby jhuijsing (Acolyte) |
on Oct 18, 2017 at 05:08 UTC ( [id://1201548]=perlquestion: print w/replies, xml ) | Need Help?? |
jhuijsing has asked for the wisdom of the Perl Monks concerning the following question: I have Tree:Trie created when I do a prefix search I am not getting the response I expect here is the trie
x $trie->lookup( "+6114110" ) 0 '+6114110' x $trie->lookup( "+61141102" ) empty array I was expecting to get the same result, As it is the best prefix that matches Or I have got it wrong?
Back to
Seekers of Perl Wisdom
|
|