]> git.vpit.fr Git - perl/modules/Variable-Magic.git/commitdiff
Minor fixes in the global destruction comment
authorVincent Pit <vince@profvince.com>
Wed, 25 Feb 2009 22:52:22 +0000 (23:52 +0100)
committerVincent Pit <vince@profvince.com>
Wed, 25 Feb 2009 22:52:22 +0000 (23:52 +0100)
lib/Variable/Magic.pm

index 45ba9b533fda18fc139a78ceb47001802882f393..36559ac5fb4990238f5f3c4f8780a3becc11557d 100644 (file)
@@ -293,7 +293,7 @@ However, only the return value of the C<len> callback currently holds a meaning.
                      set  => sub { print STDERR "set to ${$_[0]}\n" },
                      free => sub { print STDERR "${$_[0]} was deleted\n" }
 
-Note that C<free> callbacks are I<never> called during global destruction, as there's no way to ensure that the wizard and the C<free> coderef weren't destroyed before the scalar.
+Note that C<free> callbacks are I<never> called during global destruction, as there's no way to ensure that the wizard and the C<free> callback weren't destroyed before the variable.
 
 =cut