NAME
Util::Medley::List - utility methods for working with lists
VERSION
version 0.016
SYNOPSIS
%map = $util->listToMap(@list);
%map = $util->listToMap(list => \@list);
$min = $util->min(@list);
$min = $util->min(list => \@list);
$max = $util->max(@list);
$max = $util->max(list => \@list);
@list = $util->undefsToStrings(@list);
@list = $util->undefsToStrings(list => \@list);
@uniq = $util->uniq@list);
@uniq = $util->uniq(list => \@list);
DESCRIPTION
...
METHODS
listToMap
min
Just a passthrough to List::Util::min()
max
Just a passthrough to List::Util::max()
nsort
Sort an array naturally (case in-sensitive). Just a passthrough to Sort::Naturally::nsort.
undefsToStrings
- usage:
-
%map = $util->undefsToStrings($list, [$string]); %map = $util->undefsToStrings(list => \@list, [string => $str]);
- args:
uniq
Just a proxy to List::Util::uniq().