X-Git-Url: http://git.vpit.fr/?a=blobdiff_plain;f=lib%2Fautovivification.pm;h=5eabf25c6965ca5a69d21ea836639ecc5560b423;hb=3b30e5cce1db5d76cf705f5b7b4f5c9fc4913a8a;hp=71a566f92868f334bb99c399bf4339178e6590ec;hpb=3201984d539ab173c11a001792be4294af17a08c;p=perl%2Fmodules%2Fautovivification.git diff --git a/lib/autovivification.pm b/lib/autovivification.pm index 71a566f..5eabf25 100644 --- a/lib/autovivification.pm +++ b/lib/autovivification.pm @@ -11,13 +11,13 @@ autovivification - Lexically disable autovivification. =head1 VERSION -Version 0.07 +Version 0.10 =cut our $VERSION; BEGIN { - $VERSION = '0.07'; + $VERSION = '0.10'; } =head1 SYNOPSIS @@ -113,7 +113,7 @@ Turns off autovivification for lvalue dereferencing expressions, such as : function($arrayref->[$idx]) function($hashref->{$key}) -An exception is thrown if vivification is needed to store the value, which means that effectively you can only assign to levels that are already defined +An exception is thrown if vivification is needed to store the value, which means that effectively you can only assign to levels that are already defined. In the example, this would require C<$arrayref> (resp. C<$hashref>) to already be an array (resp. hash) reference. =item * @@ -188,7 +188,7 @@ This constant only has a meaning with your perl is threaded ; otherwise, it'll a =head2 C 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 . +This will always be true except on Windows where it's false for perl 5.10.0 and below. =head1 CAVEATS @@ -234,7 +234,7 @@ Matt S. Trout asked for it. =head1 COPYRIGHT & LICENSE -Copyright 2009,2010 Vincent Pit, all rights reserved. +Copyright 2009,2010,2011 Vincent Pit, all rights reserved. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.