Search results for "module:Carp::Assert"
Carp::Assert - executable comments
"We are ready for any unforseen event that may or may not occur." - Dan Quayle Carp::Assert is intended for a purpose like the ANSI C library assert.h <http://en.wikipedia.org/wiki/Assert.h>. If you're already familiar with assert.h, then you can pro...
YVES/Carp-Assert-0.22 - 04 Mar 2023 14:10:43 UTC
Carp::Assert::More - Convenience assertions for common situations
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...
PETDANCE/Carp-Assert-More-2.4.0 - 05 Mar 2024 03:58:25 UTC
Carp::Ensure - Ensure a value is of the expected type
Most of the time it's a nice feature, that Perl has no really strict type checking as in C++. However, sometimes you want to ensure, that you subs actually get the type of arguments they expect. Or they return what you expect. That is where Carp::Ens...
SMERTEN/Carp-Ensure-0.23 - 29 Jan 2002 14:59:51 UTC