From: Vincent Pit Date: Fri, 5 Mar 2010 23:09:29 +0000 (+0100) Subject: This is 0.05 X-Git-Tag: v0.05^0 X-Git-Url: http://git.vpit.fr/?a=commitdiff_plain;h=888b7a973b2a675f308fce212a5e10fee347af42;p=perl%2Fmodules%2Fautovivification.git This is 0.05 --- diff --git a/Changes b/Changes index 6427320..beaaa71 100644 --- a/Changes +++ b/Changes @@ -1,5 +1,13 @@ Revision history for autovivification +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 + use. + Thanks Michael G. Schwern for reporting. + + Fix : [RT #53647] : "leys" typo in pod. + Thanks Hinrik Orn Sigurdsson for reporting. + 0.04 2010-01-10 00:30 UTC + Add : Array and hash slices are now handled by the pragma. + Fix : Work around Kwalitee test misfailures. diff --git a/META.yml b/META.yml index e1d00d5..ca829fe 100644 --- a/META.yml +++ b/META.yml @@ -1,6 +1,6 @@ --- #YAML:1.0 name: autovivification -version: 0.04 +version: 0.05 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: 1 +dynamic_config: 0 diff --git a/README b/README index 4f119c5..a90d17b 100644 --- a/README +++ b/README @@ -2,7 +2,7 @@ NAME autovivification - Lexically disable autovivification. VERSION - Version 0.04 + Version 0.05 SYNOPSIS no autovivification; @@ -42,7 +42,7 @@ METHODS Turn off autovivification for rvalue dereferencing expressions, such as "$value = $hashref->{key}[$idx]{$field}", "keys %{$hashref->{key}}" or "values %{$hashref->{key}}". Starting from - perl 5.11, it also covers "leys" and "values" on array references. + perl 5.11, it also covers "keys" and "values" on array references. When the expression would have autovivified, "undef" is returned for a plain fetch, while "keys" and "values" return 0 in scalar context and the empty list in list context. diff --git a/lib/autovivification.pm b/lib/autovivification.pm index a266d79..8d56b08 100644 --- a/lib/autovivification.pm +++ b/lib/autovivification.pm @@ -11,13 +11,13 @@ autovivification - Lexically disable autovivification. =head1 VERSION -Version 0.04 +Version 0.05 =cut our $VERSION; BEGIN { - $VERSION = '0.04'; + $VERSION = '0.05'; } =head1 SYNOPSIS