SHARYANTO::List::Util - List utilities
This document describes version 0.75 of SHARYANTO::List::Util (from Perl distribution SHARYANTO-Utils), released on 2014-06-26.
Not exported by default but exportable.
Remove adjacent duplicates from list, i.e. behave more like Unix utility's uniq instead of List::MoreUtils's uniq function, e.g.
uniq
my @res = uniq(1, 4, 4, 3, 1, 1, 2); # 1, 4, 3, 1, 2
Like uniq_adj except case-insensitive.
uniq_adj
Like List::MoreUtils' uniq except case-insensitive.
List::MoreUtils
Given a list of integers, return number(s) missing in the sequence, e.g.:
find_missing_nums_in_seq(1, 2, 3, 4, 7, 8); # (5, 6)
Like find_missing_nums_in_seq, but for strings/letters "a".."z".
find_missing_nums_in_seq
find_missing_strs_in_seq("a", "e", "b"); # ("c", "d") find_missing_strs_in_seq("aa".."zu", "zz"); # ("zv", "zw", "zx", "zy")
SHARYANTO
Please visit the project's homepage at https://metacpan.org/release/SHARYANTO-Utils.
Source repository is at https://github.com/sharyanto/perl-SHARYANTO-Utils.
Please report any bugs or feature requests on the bugtracker website https://rt.cpan.org/Public/Dist/Display.html?Name=SHARYANTO-Utils
When submitting a bug or request, please include a test-file or a patch to an existing test-file that illustrates the bug or desired feature.
Steven Haryanto <stevenharyanto@gmail.com>
This software is copyright (c) 2014 by Steven Haryanto.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
To install SHARYANTO::Utils, copy and paste the appropriate command in to your terminal.
cpanm
cpanm SHARYANTO::Utils
CPAN shell
perl -MCPAN -e shell install SHARYANTO::Utils
For more information on module installation, please visit the detailed CPAN module installation guide.