X-Git-Url: http://git.vpit.fr/?a=blobdiff_plain;f=lib%2FVariable%2FMagic.pm;h=073679880b47223c7db1bb89fc0bd62824823f19;hb=c471e8c9f86ad8817761816101358f8ae1035915;hp=6e767b969ec530fc01adc280f5cae420ad9ff1e1;hpb=9e65e9bfbd5fa2ee747e865d1471b26ec229383c;p=perl%2Fmodules%2FVariable-Magic.git diff --git a/lib/Variable/Magic.pm b/lib/Variable/Magic.pm index 6e767b9..0736798 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.11 +Version 0.16 =cut our $VERSION; BEGIN { - $VERSION = '0.11'; + $VERSION = '0.16'; } =head1 SYNOPSIS @@ -135,8 +135,20 @@ The places where magic is invoked have changed a bit through perl history. Here' =head2 B<5.10.0> +=over 4 + =item Since C is uppercased, C triggers 'copy' magic on hash stores for (non-tied) hashes that also have 'uvar' magic. +=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 @@ -175,6 +187,10 @@ 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. + =head1 FUNCTIONS =cut @@ -294,7 +310,8 @@ 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/ ] ); our @EXPORT_OK = map { @$_ } values %EXPORT_TAGS; $EXPORT_TAGS{'all'} = [ @EXPORT_OK ]; @@ -325,17 +342,13 @@ L and L for other ways of enhancing objects. =head1 AUTHOR -Vincent Pit, C<< >> +Vincent Pit, C<< >>, L. -You can contact me by mail or on #perl @ FreeNode (Prof_Vince). +You can contact me by mail or on #perl @ FreeNode (vincent or Prof_Vince). =head1 BUGS -Please report any bugs or feature requests to -C, or through the web interface at -L. -I will be notified, and then you'll automatically be notified of progress on -your bug as I make changes. +Please report any bugs or feature requests to C, or through the web interface at L. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes. =head1 SUPPORT @@ -343,6 +356,8 @@ You can find documentation for this module with the perldoc command. perldoc Variable::Magic +Tests code coverage report is available at L. + =head1 COPYRIGHT & LICENSE Copyright 2007-2008 Vincent Pit, all rights reserved.