Assert-Conditional

 view release on metacpan or  search on metacpan

Changes  view on Meta::CPAN

         Add missing Hash::Util version requirement for old perls to get hashref_unlock imported.

0.008    Tue May 22 11:51:37 CDT 2018
         Rewrite hash_unlocked missing till 5.16 as !hash_locked
         Add omitted etc/generate-exporter-pod to MANIFEST

0.009    Tue Aug 21 06:29:56 MDT 2018
         Delay slow calls to uca_sort till you really need them, credit Larry Leszczynski.

0.010    Sun Jul 19 13:52:00 MDT 2020
         Fix coredump in perl 5.12 by replacing UNITCHECK in Assert::Conditional::Util with normal execution at botton.
         Make perls below 5.18 work again by setting Hash::Util prereq in Makefile.PL to 0 because it's in the core only, never cpan.
         Only provide assert_locked and assert_unlocked if core Hash::Util v0.15 is there (starting perl v5.17).
         Bump version req of parent class Exporter::ConditionalSubs to v1.11.1 so we don't break Devel::Cover.
         Normalize Export sub attribute tracing so either $Exporter::Verbose=1 or env ASSERT_CONDITIONAL_DEBUG=1 work for both Assert::Conditional{,::Utils}.
         Mentioned $Exporter::Verbose support.

lib/Assert/Conditional.pm  view on Meta::CPAN

# export table like the pmexp tool from the pmtools distribution does.
# If moreover the ASSERT_CONDITIONAL_BUILD_POD envariable is true, then
# this actually generates pod you can use directly. This is used by the
# etc/generate-exporter-pod script from the source directory; this
# script is not installed, and is just a helper.

exit !dump_exports(@ARGV) unless his_is_require(-1);

# This can't execute at the "normal" time or else
# namespace::autoclean's call Sub::Identify freaks:
UNITCHECK { close(DATA) if defined fileno(DATA) }

1;


# This has to be __DATA__ not __END__ for the self-executing
# trick to work right.
__DATA__

=encoding utf8

 view all matches for this distribution
 view release on metacpan -  search on metacpan

( run in 1.095 second using v1.00-cache-2.02-grep-82fe00e-cpan-c30982ac1bc3 )