Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

Scalar-List-Utils #262

Closed
eserte opened this Issue Mar 22, 2012 · 3 comments

Comments

Projects
None yet
2 participants

eserte commented Mar 22, 2012

This fail looks like it is related to TB2: https://gist.github.com/2163946

Regards,
Slaven

Owner

schwern commented Mar 23, 2012

It is related to TB2, but it is in fact a bug in their test.

{
  my $depth;
  {
    no warnings 'redefine';
    *UNIVERSAL::can = sub { die "Burp!" if ++$depth > 2; blessed(shift) };
  }
  $x = bless {}, "DEF";
  is(blessed($x), "DEF", 'recursion of UNIVERSAL::can');
}

Their test overrides and breaks can for everybody, including TB2. That's naughty.

Owner

schwern commented Mar 25, 2012

PS I may have written that test.

@schwernbot schwernbot referenced this issue in Test-More/TB2 Mar 16, 2014

Open

Scalar-List-Utils #42

@schwern schwern closed this Mar 16, 2014

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment