in reply to Re^2: Strawberry Perl on Windows 10 file test operators do not work as expected
in thread Strawberry Perl on Windows 10 file test operators do not work as expected

if ($OS eq "MSWin32")

That has always worked fine for the last 25 years that I've been using perl.
However, I don't assume that it will work as expected forever.
But then I also don't want to guess at what might be needed if the osname is changed.

I'm still waiting to see if Strawberry comes out with a perl 5.32 or perl 7.xx

Recent posts by kmx indicate that he has started work on the next release - see this github thread for example.
I expect it will be perl-5.32.0, though this has not been explicitly stated any place that I know of.

Cheers,
Rob
  • Comment on Re^3: Strawberry Perl on Windows 10 file test operators do not work as expected