perl-Carp-Assert-More - Convenience wrappers around Carp::Assert
https://metacpan.org/release/Carp-Assert-More
Carp::Assert::More is a set of wrappers around the Carp::Assert functions to make the habit of writing assertions even easier.
- Devel package for openSUSE:Factory
- Links to openSUSE:Factory / perl-Carp-Assert-More
- Download package
-
Checkout Package
osc -A https://api.opensuse.org checkout devel:languages:perl/perl-Carp-Assert-More && cd $_
- Create Badge
Refresh
Refresh
Source Files
Filename | Size | Changed |
---|---|---|
Carp-Assert-More-2.4.0.tar.gz | 0000022427 21.9 KB | |
cpanspec.yml | 0000000669 669 Bytes | |
perl-Carp-Assert-More.changes | 0000007715 7.53 KB | |
perl-Carp-Assert-More.spec | 0000002086 2.04 KB |
Revision 26 (latest revision is 27)
Tina Müller (tinita)
accepted
request 1160740
from
Tina Müller (tinita)
(revision 26)
- updated to 2.4.0 see /usr/share/doc/packages/perl-Carp-Assert-More/Changes 2.4.0 [ENHANCEMENTS] New function assert_arrayref_all() calls an assertion function for every element in the array. my $aref_of_counts = get_counts(); assert_arrayref_all( $aref, \&assert_positive_integer, 'Counts are positive' ); assert_context_scalar() now provides a default message of "function_name must be called in scalar context". assert_context_nonvoid() now provide a default message of "function_name must not be called in void context".
Comments 0