From: Shlomi Fish Date: Sat, 6 Mar 2010 00:32:39 +0000 (+0100) Subject: A few doc corrections X-Git-Tag: v0.41~2 X-Git-Url: http://git.vpit.fr/?a=commitdiff_plain;h=ace906d7e76ed647adbd1ab1243ac9bdbde9b1d5;p=perl%2Fmodules%2FVariable-Magic.git A few doc corrections --- diff --git a/lib/Variable/Magic.pm b/lib/Variable/Magic.pm index 991bca1..bdbb97e 100644 --- a/lib/Variable/Magic.pm +++ b/lib/Variable/Magic.pm @@ -50,8 +50,8 @@ BEGIN { =head1 DESCRIPTION -Magic is Perl way of enhancing objects. -This mechanism lets the user add extra data to any variable and hook syntaxical operations (such as access, assignment or destruction) that can be applied to it. +Magic is Perl's way of enhancing variables. +This mechanism lets the user add extra data to any variable and hook syntactical operations (such as access, assignment or destruction) that can be applied to it. With this module, you can add your own magic to any variable without having to write a single line of XS. You'll realize that these magic variables look a lot like tied variables. @@ -72,7 +72,7 @@ You attach it to variables, not values (as for blessed references). It doesn't replace the original semantics. -Magic callbacks usually trigger before the original action take place, and can't prevent it to happen. +Magic callbacks usually get triggered before the original action takes place, and can't prevent it from happening. This also makes catching individual events easier than with C, where you have to provide fallbacks methods for all actions by usually inheriting from the correct C class and overriding individual methods in your own class. =item *