|
Sort::Key::Types - handle Sort::Key data typesSYNOPSIS use Sort::Key::Types qw(register_type);
register_type(Color => sub { $_->R, $_->G, $_->B }, qw(int, int, int));
# you better
# use Sort::Key::Register ...
DESCRIPTIONThe Sort::Key family of modules can be extended to support new key types using this module (or the more friendly Sort::Key::Register). FUNCTIONSThe following functions are provided:
SEE ALSOSort::Key, Sort::Key::Merger, Sort::Key::Register. COPYRIGHT AND LICENSECopyright (C) 2005-2007, 2014 by Salvador Fandiño, <sfandino@yahoo.com>. This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.8.4 or, at your option, any later version of Perl 5 you may have available.
|