Skip Menu |
 

This queue is for tickets about the autovivification CPAN distribution.

Report information
The Basics
Id: 123411
Status: resolved
Priority: 0/
Queue: autovivification

People
Owner: Nobody in particular
Requestors: 'spro^^*%*^6ut# [...] &$%*c
Cc:
AdminCc:

Bug Information
Severity: Unimportant
Broken in: (no value)
Fixed in: 0.18



Subject: [PATCH] Compatibility with CV-in-stash optimisation
The patch from ticket #123374 works for this distribution as well. It is attached here, too.
Subject: tmp.text
Download tmp.text
text/plain 576b
diff -rup Variable-Magic-0.61-vFSvfU/t/lib/VPIT/TestHelpers.pm Variable-Magic-0.61-0/t/lib/VPIT/TestHelpers.pm --- Variable-Magic-0.61-vFSvfU/t/lib/VPIT/TestHelpers.pm 2015-07-20 15:33:52.000000000 -0700 +++ Variable-Magic-0.61-0/t/lib/VPIT/TestHelpers.pm 2017-10-17 19:44:34.000000000 -0700 @@ -97,7 +97,9 @@ my $test_sub = sub { } my $glob = $stash->{$sub}; - return $glob ? *$glob{CODE} : undef; + return ref \$glob eq 'GLOB' ? *$glob{CODE} + : ref $glob eq 'CODE' ? $glob + : undef; }; sub skip { $test_sub->('skip')->(@_) }
Download (untitled) / with headers
text/plain 239b
Le Ven 27 Oct 2017 17:17:13, SPROUT a écrit : Show quoted text
> The patch from ticket #123374 works for this distribution as well. It > is attached here, too.
Thanks for your report. This has been fixed in version 0.18 released yesterday. Vincent


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.