X-Git-Url: http://git.vpit.fr/?a=blobdiff_plain;f=lib%2FVariable%2FMagic.pm;h=6258fd73820f3ce875b25a03d09f038d0ee7c584;hb=77703cbca17f4b66ac947798093ffa7d05db93a8;hp=fb2e2524e87ab30f7be5d35cedaf37b760516368;hpb=a86e3e47a167afadf7de1231d6401a1139330ad0;p=perl%2Fmodules%2FVariable-Magic.git diff --git a/lib/Variable/Magic.pm b/lib/Variable/Magic.pm index fb2e252..6258fd7 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.13 +Version 0.19 =cut our $VERSION; BEGIN { - $VERSION = '0.13'; + $VERSION = '0.19'; } =head1 SYNOPSIS @@ -141,6 +141,14 @@ The places where magic is invoked have changed a bit through perl history. Here' =back +=head2 B<5.11.x> + +=over 4 + +=item I : 'len' magic is no longer invoked when calling C with a magical scalar. + +=back + =head1 CONSTANTS =head2 C @@ -179,6 +187,14 @@ True for perls that don't call 'len' magic when you push an element in a magical True for perls that call 'clear' magic when undefining magical arrays. +=head2 C + +True for perls that don't call 'len' magic when taking the C of a magical scalar. + +=head2 C + +The perl patchlevel this module was built with, or C<0> for non-debugging perls. + =head1 FUNCTIONS =cut @@ -298,7 +314,9 @@ 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_UNDEF_CLEAR/, + qw/VMG_COMPAT_SCALAR_LENGTH_NOLEN/, + qw/VMG_PERL_PATCHLEVEL/ ] ); our @EXPORT_OK = map { @$_ } values %EXPORT_TAGS; $EXPORT_TAGS{'all'} = [ @EXPORT_OK ];