X-Git-Url: http://git.vpit.fr/?a=blobdiff_plain;f=lib%2Fautovivification.pm;h=48f90029a4b70dd07da73a9cf75cdfd9f83eccee;hb=511b20947d3dfdfff3c6a5c6e2f7da0a7f90c0cf;hp=5eabf25c6965ca5a69d21ea836639ecc5560b423;hpb=3b30e5cce1db5d76cf705f5b7b4f5c9fc4913a8a;p=perl%2Fmodules%2Fautovivification.git diff --git a/lib/autovivification.pm b/lib/autovivification.pm index 5eabf25..48f9002 100644 --- a/lib/autovivification.pm +++ b/lib/autovivification.pm @@ -53,7 +53,12 @@ BEGIN { =head1 METHODS -=head2 C +=head2 C + + no autovivification; # defaults to qw + no autovivification qw; + no autovivification 'warn'; + no autovivification 'strict'; Magically called when C is encountered. Enables the features given in C<@opts>, which can be : @@ -155,7 +160,10 @@ sub unimport { (); } -=head2 C +=head2 C + + use autovivification; # default Perl behaviour + use autovivification qw; Magically called when C is encountered. Disables the features given in C<@opts>, which can be the same as for L. @@ -234,7 +242,7 @@ Matt S. Trout asked for it. =head1 COPYRIGHT & LICENSE -Copyright 2009,2010,2011 Vincent Pit, all rights reserved. +Copyright 2009,2010,2011,2012 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.