in reply to Re^4: Unexpected behaviour with PERL5OPT
in thread Unexpected behaviour with PERL5OPT

You are right (and in fact, I expected such an answer, especially from you).

Interestingly, the error exists in Test2::V0​, too, where the output of failed tests is "more friendly":

perl -wE 'use Test2::V0; plan 1;cmp_ok 1.4/10, "==", 0.14, "same"' # Seeded srand with seed '20241025' from local date. 1..1 not ok 1 - same # Failed test 'same' # at -e line 1. # +------+----+-------+ # | GOT | OP | CHECK | # +------+----+-------+ # | 0.14 | == | 0.14 | # +------+----+-------+

map{substr$_->[0],$_->[1]||0,1}[\*||{},3],[[]],[ref qr-1,-,-1],[{}],[sub{}^*ARGV,3]

Replies are listed 'Best First'.
Re^6: Unexpected behaviour with PERL5OPT
by syphilis (Archbishop) on Oct 25, 2024 at 12:27 UTC
    Interestingly, the error exists in Test2::V0​, too ...

    Oh, Christ .... is there no end to the madness !!

    ;-)

    My patch to Test/Builder.pm doesn't permeate through to Test2::V0.
    (Something for 'Ron.)

    Cheers,
    Rob