safely handle cloning a stale lexical var
authorDave Mitchell <davem@fdisolutions.com>
Fri, 22 Jun 2007 23:46:36 +0000 (23:46 +0000)
committerDave Mitchell <davem@fdisolutions.com>
Fri, 22 Jun 2007 23:46:36 +0000 (23:46 +0000)
commitefa785391fea9e6aff4c999b27ad62b7d8f9ea99
treee3d0ba3c1dc82782a9efac32a4b9858418fdd3ca
parentebbf13f2d6b71e644ff7236eeae62f89a124f231
safely handle cloning a stale lexical var
This code:
    my $x if ...; sub { $x}
could attempt to clone $x even if $x is stale.

p4raw-id: //depot/perl@31447
pad.c
t/op/closure.t