Package: libtest-block-perl / 0.13-3

Metadata

Package Version Patches format
libtest-block-perl 0.13-3 3.0 (quilt)

Patch series

view the series file
Patch File delta Description
0001 Make Test Block work with perl 5.23.8.patch | (download)

lib/Test/Block.pm | 16 16 + 0 - 0 !
t/block.t | 10 7 + 3 - 0 !
2 files changed, 23 insertions(+), 3 deletions(-)

 [patch] make test-block work with perl 5.23.8+

In 5.23.8, the order of steps that perl takes when leaving a scope has
changed. In particular, destructors are now called *before* PL_curcop
is restored and before the context is popped from the stack.

The net effect of this is that caller() called from a destructor called
while exiting a scope will see the last line of the exiting scope rather
than its first line, and may see STOREs still in the call stack that
were triggered by undoing a locations of a tied variable, that themselves
trigger destructors.


Bug: https://rt.cpan.org/Public/Bug/Display.html?id=112462
Bug-Debian: https://bugs.debian.org/825670