From: Vincent Pit Date: Sat, 23 Jun 2012 21:16:51 +0000 (+0200) Subject: Remove one extra mention to MGf_COPY X-Git-Tag: rt77991~8 X-Git-Url: http://git.vpit.fr/?a=commitdiff_plain;h=de835bf83e502c2787cbf91fcd99d1961179f4d9;p=perl%2Fmodules%2FVariable-Magic.git Remove one extra mention to MGf_COPY Also explicitely state from which perl versions the MGf_* constants are available. --- diff --git a/lib/Variable/Magic.pm b/lib/Variable/Magic.pm index 1aa0080..29b8fa1 100644 --- a/lib/Variable/Magic.pm +++ b/lib/Variable/Magic.pm @@ -143,7 +143,6 @@ This magic is called when an object is destroyed as the result of the variable g C This magic only applies to tied arrays and hashes, and fires when you try to access or change their elements. -It is available on your perl if and only if C is true. =item * @@ -407,19 +406,22 @@ This function returns true on success, C<0> when no magic represented by C<$wiz> =head2 C Evaluates to true if and only if the 'copy' magic is available. +This is the case for perl 5.7.3 and greater, which is ensured by the requirements of this module. =head2 C Evaluates to true if and only if the 'dup' magic is available. +This is the case for perl 5.7.3 and greater, which is ensured by the requirements of this module. =head2 C Evaluates to true if and only if the 'local' magic is available. +This is the case for perl 5.9.3 and greater. =head2 C When this constant is true, you can use the C callbacks on hashes. -Initial VMG_UVAR capability was introduced in perl 5.9.5, with a fully functional implementation shipped with perl 5.10.0. +Initial L capability was introduced in perl 5.9.5, with a fully functional implementation shipped with perl 5.10.0. =head2 C