X-Git-Url: http://git.vpit.fr/?a=blobdiff_plain;f=lib%2FVariable%2FMagic.pm;h=cc3bf4b01589ace9b75798ffcf0deb7658a69dfc;hb=acfdc4e19cbb455d4ededa9176a654c182c1d7b3;hp=0ddcaec1648c39845a7d041c710211343eda4477;hpb=9437b104a81a44b562437da8d5d3c64b61b6a29a;p=perl%2Fmodules%2FVariable-Magic.git diff --git a/lib/Variable/Magic.pm b/lib/Variable/Magic.pm index 0ddcaec..cc3bf4b 100644 --- a/lib/Variable/Magic.pm +++ b/lib/Variable/Magic.pm @@ -13,13 +13,13 @@ Variable::Magic - Associate user-defined magic to variables from Perl. =head1 VERSION -Version 0.31 +Version 0.32 =cut our $VERSION; BEGIN { - $VERSION = '0.31'; + $VERSION = '0.32'; } =head1 SYNOPSIS @@ -125,7 +125,7 @@ The callback has then to return the length as an integer. C -This magic is invoked when the variable is reset, such as when an array is emptied. +This magic is invoked when a container variable is reset, i.e. when an array or a hash is emptied. Please note that this is different from undefining the variable, even though the magic is called when the clearing is a result of the undefine (e.g. for an array, but actually a bug prevent it to work before perl 5.9.5 - see the L). =item *