Revision history for Variable-Magic
+0.46 2011-01-23 16:45 UTC
+ + Fix : [RT #64866] : Assertion failure with perl 5.13.9.
+ The real problem was that dispell() wasn't properly resetting
+ the magical sv flags, which became visible in the test suite
+ only with perl 5.13.9.
+ Thanks Joshua ben Jore for reporting.
+
0.45 2010-11-21 23:15 UTC
This is a maintenance release. The code contains no functional change.
Users of 0.44 can skip this update.
Variable::Magic - Associate user-defined magic to variables from Perl.
VERSION
- Version 0.45
+ Version 0.46
SYNOPSIS
- use Variable::Magic qw/wizard cast VMG_OP_INFO_NAME/;
+ use Variable::Magic qw<wizard cast VMG_OP_INFO_NAME>;
{ # A variable tracer
my $wiz = wizard set => sub { print "now set to ${$_[0]}!\n" },
{
package Magical::UserData;
- use Variable::Magic qw/wizard cast getdata/;
+ use Variable::Magic qw<wizard cast getdata>;
my $wiz = wizard data => sub { \$_[1] };
<http://www.profvince.com/perl/cover/Variable-Magic>.
COPYRIGHT & LICENSE
- Copyright 2007,2008,2009,2010 Vincent Pit, all rights reserved.
+ Copyright 2007,2008,2009,2010,2011 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.