With 5.18 t/CORE/op/length.t test 27 started to fail:
{
package U;
use overload '""' => sub {return undef;};
}
my $uo = bless [], 'U';
my $expected = $] < 5.018 ? undef : 0;
is(length($uo), $expected, "Length of string overloaded reference");
=> length($uo) = 18 since 5.18. Ok < 5.18
Note quite related to #335
Original issue reported on code.google.com by reini.urban on 27 Aug 2014 at 1:24
Original issue reported on code.google.com by
reini.urban
on 27 Aug 2014 at 1:24