List::AllUtils::Null - List subroutines that treat undef as contagious unknown, like null in SQL
This document describes version 0.004 of List::AllUtils::Null (from Perl distribution List-AllUtils-Null), released on 2021-07-05.
use List::AllUtils::Null qw( max maxstr min minstr sum ); say max(1,2,3,4,5); # => 5 say max(1,2,undef,4,5); # => undef say min(1,2,3,4,5); # => 1 say min(1,2,undef,4,5); # => undef say sum(1,2,3,4,5); # => 15 say sum(1,2,undef,4,5); # => undef
Keywords: monadic zero.
Please visit the project's homepage at https://metacpan.org/release/List-AllUtils-Null.
Source repository is at https://github.com/perlancar/perl-List-AllUtils-Null.
Please report any bugs or feature requests on the bugtracker website https://rt.cpan.org/Public/Dist/Display.html?Name=List-AllUtils-Null
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.
Your favorite SQL reference.
List::Util and friends (List::SomeUtils, List::UtilsBy, List::MoreUtils, List::AllUtils).
List::AllUtils::ContainsNull
perlancar <perlancar@cpan.org>
This software is copyright (c) 2021 by perlancar@cpan.org.
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 List::AllUtils::Null, copy and paste the appropriate command in to your terminal.
cpanm
cpanm List::AllUtils::Null
CPAN shell
perl -MCPAN -e shell install List::AllUtils::Null
For more information on module installation, please visit the detailed CPAN module installation guide.