Skip Menu |

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

Report information
The Basics
Id: 51189
Status: resolved
Worked: 30 min
Priority: 0/
Queue: Tree-AVL

People
Owner: Nobody in particular
Requestors: NCLEATON [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: 1.073
Fixed in: 1.074



Subject: False values cannot be inserted
Strings that evaluate false in a boolean context cannot be inserted into Tree::AVLs. The following dies with "Error: cannot insert uninitialized object into AVL tree": my $tree = Tree::AVL->new; $tree->insert("0"); Inserting the empty string has similar results.
Thank you for reporting this bug. I have uploaded a fix in version 1.074, and added two tests for this issue to the test suite. Thanks again, Matthias Beebe On Sat Nov 07 09:52:20 2009, NCLEATON wrote: Show quoted text
> Strings that evaluate false in a boolean context cannot be inserted into > Tree::AVLs. The following dies with "Error: cannot insert uninitialized > object into AVL tree": > > my $tree = Tree::AVL->new; > > $tree->insert("0"); > > Inserting the empty string has similar results.
Thanks.