Carp::Assert::More is a convenient set of assertions to make the habit of writing assertions even easier.
Everything in here is effectively syntactic sugar. There's no technical difference between calling one of these functions:
assert_datetime( $foo ); assert_isa( $foo, 'DateTime' );
that are provided by Carp::Assert::More and calling these assertions from Carp::Assert
assert( defined $foo ); assert( ref($foo) eq 'DateTime' );
My intent here is to make common assertions easy so that we as programmers have no excuse to not use them.
Package Version | Update ID | Released | Package Hub Version | Platforms | Subpackages |
---|---|---|---|---|---|
2.3.0-bp156.1.1 info | GA Release | 2023-09-07 | 15 SP6 |
|
|
2.1.0-bp155.1.5 info | GA Release | 2023-05-17 | 15 SP5 |
|
|
2.0.1-bp154.1.21 info | GA Release | 2022-05-09 | 15 SP4 |
|
|
1.16-bp153.1.12 info | GA Release | 2021-03-06 | 15 SP3 |
|
|
1.16-bp152.3.16 info | GA Release | 2020-04-16 | 15 SP2 |
|
|
1.16-bp151.3.1 info | GA Release | 2019-07-16 | 15 SP1 |
|
|
1.16-bp151.2.12 info | GA Release | 2019-05-18 | 15 SP1 |
|
|
1.16-bp150.2.4 info | GA Release | 2018-07-30 | 15 |
|
|