more useful options | |
PerlMonks |
Re^4: Is it ever legitimate to override $^O ? -- Cwdby syphilis (Archbishop) |
on Aug 03, 2022 at 13:54 UTC ( [id://11145919]=note: print w/replies, xml ) | Need Help?? |
the following Cwd version acts in the opposite way Heh ... that's pretty flakey, too. (I see the same.) What I'd like to find is some code where the behaviour changes between perl-5.32 and perl-5.34. Apart from t/01-basic.t, everything I've tested (including your fakeOS.pl) is doing the same thing on both of those versions of perl. If I take your fakeOS.pl, change $^O = 'Unix'; to $^O = 'MSWin32' and run it on Ubuntu-20.04, I get: and Again, however, it's the same behaviour on perl-5.32 and perl-5.34. Interestingly, that error message when run without loading Test::Harness hints at being perhaps connected to the failure that t/01-basic.t is triggering on perl-5.34 and later. Dunno ... I think I just need to find the time to make one or two bug reports and let the experts sort it out. Cheers, Rob
In Section
Seekers of Perl Wisdom
|
|