Associate user-defined magic to variables from Perl
http://search.cpan.org/dist/Variable-Magic/
Magic is Perl's way of enhancing variables. This mechanism lets the user
add extra data to any variable and hook syntactical operations (such as
access, assignment or destruction) that can be applied to it. With this
module, you can add your own magic to any variable without having to write
a single line of XS.
- Developed at devel:languages:perl
-
4
derived packages
- Download package
-
Checkout Package
osc -A https://api.opensuse.org checkout openSUSE:Factory/perl-Variable-Magic && cd $_
- Create Badge
Refresh
Refresh
Source Files
Filename | Size | Changed |
---|---|---|
Variable-Magic-0.52.tar.gz | 0000058146 56.8 KB | |
perl-Variable-Magic.changes | 0000006252 6.11 KB | |
perl-Variable-Magic.spec | 0000002771 2.71 KB |
Revision 8 (latest revision is 20)
Stephan Kulow (coolo)
accepted
request 178332
from
Stephan Kulow (coolo)
(revision 8)
- updated to 0.52 + Add : The new constant VMG_COMPAT_SCALAR_NOLEN evaluates to true when your perl does not call 'len' magic for scalars, which is the case for perl 5.17.4 and above. This fixes RT #80388. + Tst : t/35-stash.t has been taught about perl 5.17.4. + Tst : Author tests overhaul. + Fix : It is now safe to call dispell() from inside 'free', 'copy' and 'uvar' callbacks to dispell the magic currently in use. Thanks Clinton Gormley for reporting. + Fix : Exceptions thrown from inside a 'free' callback are now always consistently propagated outside of the callback. They used to be lost when the 'free' callback was invoked at the end of an eval block or string. + Fix : The 'reset RMG flag' workaroundn used to allow wizards with both 'uvar' and 'clear' magics to be cast onto a hash, has been made thread-safe. + Fix : Less memory is leaked when a wizard is freed during global destruction, or when an exception is thrown from a 'free' callback. + Fix : [RT #77991] : t/17-ctl.t fails on perl 5.14 and 5.16. This was actually an issue with ActivePerl, and this test has learned to cope with it. Thanks Gisle Aas for reporting. + Tst : t/35-stash.t has been taught about perl 5.17.1. + Doc : Many clarifications. This is a maintenance release. The code contains no functional change. Satisfied users of version 0.48 can skip this update. + Fix : [RT #77644] : t/17_ctl.t fails in test 44 since 5.17.0. This test has been taught about perl 5.17.0.
Comments 0