in reply to Re: 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

With the way Perl has been going, I don't know if I'd trust things like this:

if ($OS eq "MSWin32") elsif ($OS eq "linux")

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

  • Comment on Re^2: Strawberry Perl on Windows 10 file test operators do not work as expected
  • Download Code

Replies are listed 'Best First'.
Re^3: Strawberry Perl on Windows 10 file test operators do not work as expected
by syphilis (Archbishop) on Jul 24, 2020 at 00:51 UTC
    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