Articulate::Sortation::Numeric - sort strings using the spaceship operator
This implements the Articulate::Role::Sortation::AllYouNeedIsCmp role to provide a very basic numerical sorter object.
One method provided here, the rest are as in Articulate::Role::Sortation::AllYouNeedIsCmp.
$self->cmp($a, $b); # returns $a <=> $b
Articulate::Sortation::String
Articulate::Sortation::Slug
To install Articulate, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Articulate
CPAN shell
perl -MCPAN -e shell install Articulate
For more information on module installation, please visit the detailed CPAN module installation guide.