X-Git-Url: http://git.vpit.fr/?a=blobdiff_plain;f=lib%2Fautovivification.pm;h=a266d794833289bd3ccbd6b4af9f7a713b22d68d;hb=refs%2Ftags%2Frt53647;hp=34bc74a9ec039d2108602ce110410d93fc6e835d;hpb=234bd716a2cb5417b5cd60d1859ea5241673654b;p=perl%2Fmodules%2Fautovivification.git diff --git a/lib/autovivification.pm b/lib/autovivification.pm index 34bc74a..a266d79 100644 --- a/lib/autovivification.pm +++ b/lib/autovivification.pm @@ -11,13 +11,13 @@ autovivification - Lexically disable autovivification. =head1 VERSION -Version 0.03 +Version 0.04 =cut our $VERSION; BEGIN { - $VERSION = '0.03'; + $VERSION = '0.04'; } =head1 SYNOPSIS @@ -65,7 +65,7 @@ Enables the features given in C<@opts>, which can be : C<'fetch'> Turn off autovivification for rvalue dereferencing expressions, such as C<< $value = $hashref->{key}[$idx]{$field} >>, C<< keys %{$hashref->{key}} >> or C<< values %{$hashref->{key}} >>. -Starting from perl C<5.11>, it also covers C and C on array references. +Starting from perl C<5.11>, it also covers C and C on array references. When the expression would have autovivified, C is returned for a plain fetch, while C and C return C<0> in scalar context and the empty list in list context. =item *