X-Git-Url: http://git.vpit.fr/?p=perl%2Fmodules%2Fautovivification.git;a=blobdiff_plain;f=lib%2Fautovivification.pm;h=7f6adc5a0b5a4773d820c119dc6e89e9504f41f3;hp=5eabf25c6965ca5a69d21ea836639ecc5560b423;hb=e1d2632ef0b4e3ee3e418c12903f81b5d7b55b1a;hpb=0b4ae66b743ee623cdfdb7cdbea5c84338f9e3d9 diff --git a/lib/autovivification.pm b/lib/autovivification.pm index 5eabf25..7f6adc5 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.