From: Vincent Pit Date: Thu, 20 Aug 2026 14:20:01 +0000 (+0200) Subject: This is 0.65 X-Git-Tag: v0.65^0 X-Git-Url: http://git.vpit.fr/?a=commitdiff_plain;h=818234177845f7002443f291a84b3008a9890a51;p=perl%2Fmodules%2FVariable-Magic.git This is 0.65 --- diff --git a/Changes b/Changes index 3c7e659..88797c3 100644 --- a/Changes +++ b/Changes @@ -1,5 +1,13 @@ Revision history for Variable-Magic +0.65 2026-08-20 14:20 UTC + + Chg : The 'delete' callback for hashes will now correctly be fired in + void context. VMG_COMPAT_HASH_DELETE_NOUVAR_VOID is now always + set to false. This is a (good) side effect of the following fix. + + Fix : [RT #180372] Test failures under perl v5.45.2 + Thanks Lukas Mai for reporting and providing a fix. + + Upd : AI contributions are not welcomed. + 0.64 2024-03-18 23:20 UTC This is a maintenance release. The code contains no functional change. Satisfied users of version 0.63 can skip this update. diff --git a/META.json b/META.json index 84a0d51..e56a035 100644 --- a/META.json +++ b/META.json @@ -4,7 +4,7 @@ "Vincent Pit " ], "dynamic_config" : 1, - "generated_by" : "ExtUtils::MakeMaker version 7.62, CPAN::Meta::Converter version 2.150010", + "generated_by" : "ExtUtils::MakeMaker version 7.70, CPAN::Meta::Converter version 2.150010", "license" : [ "perl_5" ], @@ -68,6 +68,6 @@ "web" : "http://git.vpit.fr/?p=perl%2Fmodules%2FVariable-Magic.git" } }, - "version" : "0.64", - "x_serialization_backend" : "JSON::PP version 4.06" + "version" : "0.65", + "x_serialization_backend" : "JSON::PP version 4.16" } diff --git a/META.yml b/META.yml index f429c36..a9af9c9 100644 --- a/META.yml +++ b/META.yml @@ -19,7 +19,7 @@ build_requires: configure_requires: ExtUtils::MakeMaker: '0' dynamic_config: 1 -generated_by: 'ExtUtils::MakeMaker version 7.62, CPAN::Meta::Converter version 2.150010' +generated_by: 'ExtUtils::MakeMaker version 7.70, CPAN::Meta::Converter version 2.150010' license: perl meta-spec: url: http://module-build.sourceforge.net/META-spec-v1.4.html @@ -40,5 +40,5 @@ resources: homepage: http://search.cpan.org/dist/Variable-Magic/ license: http://dev.perl.org/licenses/ repository: http://git.vpit.fr/perl/modules/Variable-Magic.git/ -version: '0.64' +version: '0.65' x_serialization_backend: 'CPAN::Meta::YAML version 0.018' diff --git a/README b/README index 3a9cf67..9a36f01 100644 --- a/README +++ b/README @@ -2,7 +2,7 @@ NAME Variable::Magic - Associate user-defined magic to variables from Perl. VERSION - Version 0.64 + Version 0.65 SYNOPSIS use Variable::Magic qw; @@ -43,9 +43,9 @@ DESCRIPTION You'll realize that these magic variables look a lot like tied variables. It is not surprising, as tied variables are implemented as a special kind of magic, just like any 'irregular' Perl variable : scalars - like $!, $( or $^W, the %ENV and %SIG hashes, the @ISA array, "vec()" - and "substr()" lvalues, threads::shared variables... They all share the - same underlying C API, and this module gives you direct access to it. + like $!, $( or $^W, the %ENV and %SIG hashes, the @ISA array, vec() and + substr() lvalues, threads::shared 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 : @@ -577,7 +577,7 @@ PERL MAGIC HISTORY * 5.10.0 - Since "PERL_MAGIC_uvar" is uppercased, "hv_magic_check()" triggers + Since "PERL_MAGIC_uvar" is uppercased, hv_magic_check() triggers *copy* magic on hash stores for (non-tied) hashes that also have *uvar* magic. @@ -646,8 +646,8 @@ SUPPORT COPYRIGHT & LICENSE Copyright - 2007,2008,2009,2010,2011,2012,2013,2014,2015,2016,2017,2022,2024 Vincent - Pit, all rights reserved. + 2007,2008,2009,2010,2011,2012,2013,2014,2015,2016,2017,2022,2024,2026 + Vincent Pit, all rights reserved. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself. diff --git a/lib/Variable/Magic.pm b/lib/Variable/Magic.pm index 3735f8e..7c02dd5 100644 --- a/lib/Variable/Magic.pm +++ b/lib/Variable/Magic.pm @@ -11,13 +11,13 @@ Variable::Magic - Associate user-defined magic to variables from Perl. =head1 VERSION -Version 0.64 +Version 0.65 =cut our $VERSION; BEGIN { - $VERSION = '0.64'; + $VERSION = '0.65'; } =head1 SYNOPSIS