Skip Menu |

This queue is for tickets about the Tree-Trie CPAN distribution.

Report information
The Basics
Id: 123307
Status: new
Priority: 0/
Queue: Tree-Trie

People
Owner: Nobody in particular
Requestors: john.huijsing [...] gmail.com
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: question about Tree::Trie deepsearch=prefix
Date: Tue, 17 Oct 2017 20:17:26 +1100
To: bug-Tree-Trie [...] rt.cpan.org
From: John Huijsing <john.huijsing [...] gmail.com>
I have tree 0 Tree::Trie=HASH(0x600d98df8) '_DEEPSEARCH' => 3 '_END' => '' '_FREEZE_END' => 0 '_MAINHASHREF' => HASH(0x600d99050) '+' => HASH(0x600d9cfa8) 6 => HASH(0x600d9d0c8) 1 => HASH(0x600d9d008) '' => 'Term' 1 => HASH(0x600d9d2d8) 4 => HASH(0x600d9d188) 1 => HASH(0x600d9cea0) 1 => HASH(0x600d9d200) '' => 'Outleg_611411' 0 => HASH(0x600d9d170) '' => 'Outleg_6114110' 5 => HASH(0x600d9d458) '' => 'Term_Ref' 'd' => HASH(0x600d9d0b0) 'e' => HASH(0x600d9d260) 'f' => HASH(0x600d98f78) 'a' => HASH(0x600d9d578) 'u' => HASH(0x600d983d8) 'l' => HASH(0x600d9d5a8) 't' => HASH(0x600d9d5d8) '' => 'Unknown' This search returns $trie->lookup("+611411") 0 '+6114110' 1 '+611411' $trie->lookup("+6114110") 0 '+6114110' $trie->lookup("+61141102") empty array I thought it should have returned the same result as the previous search John