From: Vincent Pit Date: Wed, 25 Feb 2009 22:52:22 +0000 (+0100) Subject: Minor fixes in the global destruction comment X-Git-Tag: v0.32~10 X-Git-Url: http://git.vpit.fr/?p=perl%2Fmodules%2FVariable-Magic.git;a=commitdiff_plain;h=b360c089c6d8f2d15c6fe2046de925eeb44f54ad Minor fixes in the global destruction comment --- diff --git a/lib/Variable/Magic.pm b/lib/Variable/Magic.pm index 45ba9b5..36559ac 100644 --- a/lib/Variable/Magic.pm +++ b/lib/Variable/Magic.pm @@ -293,7 +293,7 @@ However, only the return value of the C callback currently holds a meaning. set => sub { print STDERR "set to ${$_[0]}\n" }, free => sub { print STDERR "${$_[0]} was deleted\n" } -Note that C callbacks are I called during global destruction, as there's no way to ensure that the wizard and the C coderef weren't destroyed before the scalar. +Note that C callbacks are I called during global destruction, as there's no way to ensure that the wizard and the C callback weren't destroyed before the variable. =cut