From: Vincent Pit Date: Sat, 24 Apr 2010 17:40:36 +0000 (+0200) Subject: This is 0.06 X-Git-Tag: v0.06 X-Git-Url: http://git.vpit.fr/?a=commitdiff_plain;h=14bb0e1a75e03e3cca8bdbe4d209f92408325643;p=perl%2Fmodules%2Fautovivification.git This is 0.06 --- diff --git a/Changes b/Changes index beaaa71..d39bdd6 100644 --- a/Changes +++ b/Changes @@ -1,5 +1,13 @@ Revision history for autovivification +0.06 2010-04-24 17:40 UTC + + Add : The A_THREADSAFE and A_FORKSAFE constants. + + Fix : [RT #56870] : "no autovivification" vs Regexp::Common. + This was a bug in how tied arrays and hashes were handled. + Thanks Michael G. Schwern for reporting. + + Fix : Scope leaks under perl 5.8-5.10.0. + + Fix : Segfaults when first loading the pragma from inside a thread. + 0.05 2010-03-05 23:15 UTC + Fix : [RT #55154] : Crashes and assertion failures when deparsing and re-eval-uating some code compiled while autovivification was in diff --git a/META.yml b/META.yml index ca829fe..55a1df3 100644 --- a/META.yml +++ b/META.yml @@ -1,6 +1,6 @@ --- #YAML:1.0 name: autovivification -version: 0.05 +version: 0.06 abstract: Lexically disable autovivification. author: - Vincent Pit @@ -28,4 +28,4 @@ generated_by: ExtUtils::MakeMaker version 6.56 meta-spec: url: http://module-build.sourceforge.net/META-spec-v1.4.html version: 1.4 -dynamic_config: 0 +dynamic_config: 1 diff --git a/README b/README index a90d17b..de95021 100644 --- a/README +++ b/README @@ -2,7 +2,7 @@ NAME autovivification - Lexically disable autovivification. VERSION - Version 0.05 + Version 0.06 SYNOPSIS no autovivification; @@ -93,6 +93,17 @@ METHODS When @opts is empty, it defaults to restoring the original Perl autovivification behaviour. +CONSTANTS + "A_THREADSAFE" + True iff the module could have been built with thread-safety features + enabled. This constant only has a meaning with your perl is threaded ; + otherwise, it'll always be false. + + "A_FORKSAFE" + True iff this module could have been built with fork-safety features + enabled. This will always be true except on Windows where it's false for + perl 5.10.0 and below . + CAVEATS The pragma doesn't apply when one dereferences the returned value of an array or hash slice, as in "@array[$id]->{member}" or diff --git a/lib/autovivification.pm b/lib/autovivification.pm index 9ef9994..01caf24 100644 --- a/lib/autovivification.pm +++ b/lib/autovivification.pm @@ -11,13 +11,13 @@ autovivification - Lexically disable autovivification. =head1 VERSION -Version 0.05 +Version 0.06 =cut our $VERSION; BEGIN { - $VERSION = '0.05'; + $VERSION = '0.06'; } =head1 SYNOPSIS