The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

MooseX::ConsistentHash::Option - is the bucket for MooseX::ConsistentHash::* Version 0.01

SYNOPSIS . use MooseX::ConsistentHash::Option; my $option = MooseX::ConsistentHash::Option->new( value => $some_value, weight => $some_integer );

METHODS

In addition to methods 'value' and 'weight' is available:

identificator

is a 'lazy' method. By default, returns the 'md5_hex' string from the 'freeze' objects value.

SEE ALSO

MooseX::ConsistentHash

AUTHOR

Sivirinov Ivan, <catamoose at yandex.ru>

COPYRIGHT AND LICENSE

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.10 or, at your option, any later version of Perl 5 you may have available.

And see Set::ConsistentHash.