X-Git-Url: http://git.vpit.fr/?a=blobdiff_plain;f=lib%2FVariable%2FMagic.pm;h=9e24440331643d8857c1f19824f68e90d9380f6e;hb=505fda7126b01811c0ca990552876a1c6d9dc7c3;hp=7e16527f5307b87bc0620e1f440ee87e7c54e1ae;hpb=4ae554f588e33ed5ca7d26edd634a03016c1a2d6;p=perl%2Fmodules%2FVariable-Magic.git diff --git a/lib/Variable/Magic.pm b/lib/Variable/Magic.pm index 7e16527..9e24440 100644 --- a/lib/Variable/Magic.pm +++ b/lib/Variable/Magic.pm @@ -125,7 +125,7 @@ The callback has then to return the length as an integer. C -This magic is invoked when a container variable is reset, i.e. when an array or a hash is emptied. +This magic is invoked when the variable is reset, such as when an array 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 *