X-Git-Url: http://git.vpit.fr/?a=blobdiff_plain;f=lib%2FVariable%2FMagic.pm;h=ea15f0ad6c665aedd45035127699a98b86e9f756;hb=e24dbdc2fc1672d04e04edab9fe3c126631e12c2;hp=36559ac5fb4990238f5f3c4f8780a3becc11557d;hpb=b360c089c6d8f2d15c6fe2046de925eeb44f54ad;p=perl%2Fmodules%2FVariable-Magic.git diff --git a/lib/Variable/Magic.pm b/lib/Variable/Magic.pm index 36559ac..ea15f0a 100644 --- a/lib/Variable/Magic.pm +++ b/lib/Variable/Magic.pm @@ -55,7 +55,7 @@ This mechanism lets the user add extra data to any variable and hook syntaxical 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. -It's not surprising, as tied variables are implemented as a special kind of magic, just like any 'irregular' Perl variable : scalars like C<$!>, C<$(> or C<$^W>, the C<%ENV> and C<%SIG> hashes, the C<@ISA> array, C and C lvalues, L variables... +It's not surprising, as tied variables are implemented as a special kind of magic, just like any 'irregular' Perl variable : scalars like C<$!>, C<$(> or C<$^W>, the C<%ENV> and C<%SIG> hashes, the C<@ISA> array, C and C lvalues, L variables... They all share the same underlying C API, and this module gives you direct access to it. Still, the magic made available by this module differs from tieing and overloading in several ways :