Subject: | Strange characters at the end of strings |
Hi gray,
I don't know if this is my fault or not, it would be great if you'd have
a look at this.
I just added couple of strings to an array:
my @arr = ('acute onset', 'acoa aneurysms', 'acute subarachnoid',
'age range', 'aneurysmal formation', 'acute period');
Then I added this to a Tree::Suffix
my $tree = Tree::Suffix->new(@arr);
When I now print all the strings in the tree with...
foreach ($tree->strings) {
print $tree->string($_), "\n";
}
...I get a weird output, i.e. at the end of some strings appears a
strange character. E.g.:
acoa aneurysms
acute onset
-> acute period<89>
acute subarachnoid
age range
-> aneurysmal formation^Y
I don't really see what could be wrong with my little code snippet, so
do you think this could be a bug? Would be great if you could help me
fast, since I could use this for my thesis which I have to finish in
only 5 weeks (I know, this is not your problem).
Thanks a lot!
Wolfgang