]> git.vpit.fr Git - perl/modules/Scope-Upper.git/commitdiff
Skip a destructor test on perl 5.6 in t/74-uid-validate.t
authorVincent Pit <vince@profvince.com>
Mon, 10 Oct 2011 20:04:36 +0000 (22:04 +0200)
committerVincent Pit <vince@profvince.com>
Mon, 10 Oct 2011 20:05:04 +0000 (22:05 +0200)
An object destructor is always fired last before 5.8. For example,

    our $y = 1;
    sub X::DESTROY { print $y }
    {
     local $y = 2;
     my $x = bless [], "X"
    }

will print 1 on 5.6 and 2 on 5.8.


No differences found