From: Vincent Pit Date: Wed, 25 Feb 2009 23:12:21 +0000 (+0100) Subject: L variables X-Git-Tag: v0.32~9 X-Git-Url: http://git.vpit.fr/?p=perl%2Fmodules%2FVariable-Magic.git;a=commitdiff_plain;h=e24dbdc2fc1672d04e04edab9fe3c126631e12c2 L variables --- 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 :