Index | index by Group | index by Distribution | index by Vendor | index by creation date | index by Name | Mirrors | Help | Search |
Name: perl-Carp-Assert-More | Distribution: openSUSE Leap 15.2 |
Version: 1.16 | Vendor: openSUSE |
Release: lp152.3.2 | Build date: Fri Sep 20 19:46:54 2019 |
Group: Development/Libraries/Perl | Build host: lamb06 |
Size: 25915 | Source RPM: perl-Carp-Assert-More-1.16-lp152.3.2.src.rpm |
Packager: https://bugs.opensuse.org | |
Url: http://search.cpan.org/dist/Carp-Assert-More/ | |
Summary: Convenience Wrappers Around Carp::Assert |
Carp::Assert::More is a set of wrappers around the Carp::Assert functions to make the habit of writing assertions even easier. Everything in here is effectively syntactic sugar. There's no technical reason to use assert_isa( $foo, 'HTML::Lint' ); instead of assert( defined $foo ); assert( ref($foo) eq 'HTML::Lint' ); other than readability and simplicity of the code. My intent here is to make common assertions easy so that we as programmers have no excuse to not use them.
Artistic-2.0
* Sat Aug 05 2017 coolo@suse.com - updated to 1.16 see /usr/share/doc/packages/perl-Carp-Assert-More/Changes 1.16 Fri Aug 4 14:18:51 CDT 2017 [ENHANCEMENTS] Added the following functions: * assert_numeric( $n ) * assert_all_keys_in( \%hash, \@keylist ) * assert_empty( [\%hash|\@list] ) * assert_coderef( $ref ) * assert_isa_in( $ref, \@class_list ) Thanks to Eric A. Zarko for some of them. The rest were migrated from a private code project. Renamed assert_listref() to assert_arrayref(), but keep assert_listref() as backward compatibility. assert_listref() may go away in the future. [DOCUMENTATION] Fixed a goof in the assert_integer() docs. Thanks, Randy Lauen. * Mon Jun 03 2013 coolo@suse.com - updated to 1.14 [ENHANCEMENTS] Added assert_undefined() for Ben Hengst. Added assert_unlike(). [FIXES] assert_nonblank() wasn't using the correct message. Thanks to Leland Johnson. assert_nonempty() wouldn't work on blessed arrays and refs. Now it will. * Mon Jan 17 2011 coolo@novell.com - initial package 1.12 * created by cpanspec 1.78.03
/usr/lib/perl5/vendor_perl/5.26.1/Carp /usr/lib/perl5/vendor_perl/5.26.1/Carp/Assert /usr/lib/perl5/vendor_perl/5.26.1/Carp/Assert/More.pm /usr/lib/perl5/vendor_perl/5.26.1/x86_64-linux-thread-multi /usr/share/doc/packages/perl-Carp-Assert-More /usr/share/doc/packages/perl-Carp-Assert-More/Changes /usr/share/doc/packages/perl-Carp-Assert-More/README.md /usr/share/man/man3/Carp::Assert::More.3pm.gz
Generated by rpm2html 1.8.1
Fabrice Bellet, Tue Apr 9 11:50:38 2024