Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

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

by stevieb (Canon)
on Jul 23, 2020 at 23:06 UTC ( [id://11119725]=note: print w/replies, xml ) Need Help??


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

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://11119725]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others goofing around in the Monastery: (5)
As of 2024-04-19 06:52 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found