Package : perl-List-UtilsBy > RPM : perl-List-UtilsBy-0.100.0-3.mga6.src.rpm
Basic items
Name | perl-List-UtilsBy |
Version | 0.100.0 |
Release | 3.mga6 |
URL | http://search.cpan.org/dist/List-UtilsBy |
Group | Development/Perl |
Summary | Higher-order list utility functions |
Size | 25KB |
Arch | noarch |
License | GPL+ or Artistic |
Description
This module provides a number of list utility functions, all of which take
an initial code block to control their behaviour. They are variations on
similar core perl or 'List::Util' functions of similar names, but which use
the block to control their behaviour. For example, the core Perl function
'sort' takes a list of values and returns them, sorted into order by their
string value. The 'sort_by' function sorts them according to the string
value returned by the extra function, when given each value.
my @names_sorted = sort @names;
my @people_sorted = sort_by { $_->name } @people;
an initial code block to control their behaviour. They are variations on
similar core perl or 'List::Util' functions of similar names, but which use
the block to control their behaviour. For example, the core Perl function
'sort' takes a list of values and returns them, sorted into order by their
string value. The 'sort_by' function sorts them according to the string
value returned by the extra function, when given each value.
my @names_sorted = sort @names;
my @people_sorted = sort_by { $_->name } @people;
Media information
Distribution release | Mageia 6 |
Media name | core-release |
Media arch | i586 |
Advanced items
Source RPM | NOT IN DATABASE ?! |
Build time | 2016-06-19 04:55:04 |
Changelog | View in Sophie |
Files | View in Sophie |
Dependencies | View in Sophie |