Subject: | keys() gives an error. |
Date: | Fri, 9 Feb 2007 22:37:58 +0000 |
To: | bug-Algorithm-SkipList [...] rt.cpan.org |
From: | Josef Karthauser <joe [...] tao.org.uk> |
This code gives an error:
my $list = new Algorithm::SkipList();
$list->keys();
which is,
Can't call method "key" on an undefined value at
blib/lib/Algorithm/SkipList.pm (autosplit into
blib/lib/auto/Algorithm/SkipList/_search_nodes.al) line 637.
It should return an empty list if there are no entires in the skiplist.
The same is true of the values() method.
Joe
--
=== Josef Karthauser (joe@tao.org.uk) === http://x2obuilder.com/tao ===
Message body not shown because it is not plain text.