Path to this page:
Subject: CVS commit: pkgsrc/devel/p5-Carp-Assert-More
From: Wen Heping
Date: 2024-07-29 14:43:37
Message id: 20240729124337.C5E39FC74@cvs.NetBSD.org
Log Message:
Update to 2.4.0
Upstream changes:
2.4.0 Mon Mar 4 21:54:07 CST 2024
[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".
Files: