X-Git-Url: http://git.vpit.fr/?a=blobdiff_plain;f=lib%2FVariable%2FMagic.pm;h=bb8bfa591e0f26b5adfa23169a6ad9d026dffea6;hb=refs%2Ftags%2Fv0.26;hp=3a888febbfa35cb82f82a7e7307855cb848b8c1b;hpb=bcc72c6633aec36f391f879f8145c48bf7c9c4dc;p=perl%2Fmodules%2FVariable-Magic.git diff --git a/lib/Variable/Magic.pm b/lib/Variable/Magic.pm index 3a888fe..bb8bfa5 100644 --- a/lib/Variable/Magic.pm +++ b/lib/Variable/Magic.pm @@ -13,13 +13,13 @@ Variable::Magic - Associate user-defined magic to variables from Perl. =head1 VERSION -Version 0.23 +Version 0.26 =cut our $VERSION; BEGIN { - $VERSION = '0.23'; + $VERSION = '0.26'; } =head1 SYNOPSIS @@ -161,6 +161,14 @@ I : 'copy' and 'dup' magic. =item * +B<5.8.9> + +I : Integration of I (see below). + +I : Integration of I (see below). + +=item * + B<5.9.3> I : 'len' magic is no longer called when pushing an element into a magic array. @@ -187,6 +195,8 @@ B<5.11.x> I : 'len' magic is no longer invoked when calling C with a magical scalar. +I : 'len' magic is no longer called when pushing / unshifting an element into a magical array in void context. The C part was already covered by I. + =back =head1 CONSTANTS @@ -223,6 +233,10 @@ When this constant is true, you can use the C callbac True for perls that don't call 'len' magic when you push an element in a magical array. +=head2 C + +True for perls that don't call 'len' magic when you unshift in void context an element in a magical array. + =head2 C True for perls that call 'clear' magic when undefining magical arrays. @@ -369,7 +383,7 @@ our @EXPORT = (); our %EXPORT_TAGS = ( 'funcs' => [ qw/wizard gensig getsig cast getdata dispell/ ], 'consts' => [ qw/SIG_MIN SIG_MAX SIG_NBR MGf_COPY MGf_DUP MGf_LOCAL VMG_UVAR/, - qw/VMG_COMPAT_ARRAY_PUSH_NOLEN VMG_COMPAT_ARRAY_UNDEF_CLEAR/, + qw/VMG_COMPAT_ARRAY_PUSH_NOLEN VMG_COMPAT_ARRAY_UNSHIFT_NOLEN_VOID VMG_COMPAT_ARRAY_UNDEF_CLEAR/, qw/VMG_COMPAT_SCALAR_LENGTH_NOLEN/, qw/VMG_PERL_PATCHLEVEL/, qw/VMG_THREADSAFE/ ]