in reply to Re^4: pl – Perl One-Liner Magic Wand -- failing tests
in thread pl – Perl One-Liner Magic Wand: looking for feedback
It's not the berries, because in the mean time cpantesters have reported success for 6 different Windows versions, all Strawberry.
Something in yours is loading this non-standard variant of Config, where I don't even see why it would load Config at all. I have modified the failing test a bit: sub i tracks the modifications of %INC, using keydiff. Could you please run
pl "$I = -1; sub i { ++$I; k $_, $INC{$_} for keys %INC } i; require Time::HiRes; i; for( @A, [$A[0], 123456] ) { E Isodate( $_, 0 ), I( 0.0, $_ ), I( $_, \"+0\" ), I( $_, 1 ), D( $_, -80, \"+90\", \"-9.5\" ), \"\"; Date \"08:45\", $_ } i" 123456789
For me it records only a single change, the module I explicitly require. (Isodate would too, but I wanted to see it in isolation.) If you want more fun, what E would do for echoing refs, you can add this before the end quote: ; require Data::Dumper; i
So much for maybe understanding. For the solution, I guess I'll have to drop my overzealous warnings (which I now realize, aren't complete anyway). Can you please remove '-W', from @cmd on line t/test.pm:51? Then please run perl t/unit.t
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^6: pl – Perl One-Liner Magic Wand -- failing tests
by Discipulus (Canon) on Jun 20, 2022 at 07:32 UTC | |
|
Re^6: pl – Perl One-Liner Magic Wand -- failing tests
by swl (Prior) on Jun 21, 2022 at 00:28 UTC |