| Algorithm-SkipList documentation | Contained in the Algorithm-SkipList distribution. |
Algorithm::SkipList::Header - header node class for Algorithm::SkipList
This is a specialized subclass of Algorithm::SkipList::Node for header nodes.
Robert Rothenberg <rrwo at cpan.org>
Feedback is always welcome. Please use the CPAN Request Tracker at http://rt.cpan.org to submit bug reports.
Copyright (c) 2003-2005 Robert Rothenberg. All rights reserved. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
Algorithm::SkipList
| Algorithm-SkipList documentation | Contained in the Algorithm-SkipList distribution. |
package Algorithm::SkipList::Header; use 5.006; use strict; use warnings::register __PACKAGE__; use base 'Algorithm::SkipList::Node'; use Carp qw( carp ); our $VERSION = '1.02'; # $VERSION = eval $VERSION; sub key_cmp { -1; } sub key { carp "this method should never be run", if (warnings::enabled); return; } sub value { carp "this method should never be run", if (warnings::enabled); return; } 1; __END__