刘刊 > pantheon-0.58 > Vulcan::Sort

Download:
pantheon-0.58.tar.gz

Dependencies

Annotate this POD

View/Report Bugs
Source  

NAME ^

Vulcan::Sort - Multi-dimensional Sort

SYNOPSIS ^

 use Vulcan::Sort;

 my $sort = Vulcan::Sort->new( dim1 => sub {}, dim2 => sub {} .. );
 my @b = $sort->run( \@a, qw( dim1 dim2 .. ) );

Methods ^

run( \@array, @dim )

Sort @array by each dimension in @dim. Returns sorted array.

syntax highlighting: