in reply to Win 10 Anniversary killed Perl

If you open a cmd window and perl -v do you get version information? I'm using Strawberry Perl 5.16.3 32 bit build which works fine before and after the Anniversary update.

Update: I lie. It's an ActiveState build on this machine. At home I'm running Strawberry 5.2x.x, again with no trouble before or following the Anniversary update.

Premature optimization is the root of all job security

Replies are listed 'Best First'.
Re^2: Win 10 Anniversary killed Perl
by cxgy (Novice) on Sep 27, 2016 at 03:29 UTC
    Yes, I just tried that and it states perl 5, version 24, etc. EDIT: I just tried typing 'perl' followed by a perl-script filename and the same behaviour is noticed - nothing happens and then the cmd window disappears after a few seconds.
      I just tried launching another script from within the cmd window. This time something else happened. I get a whole bunch of syntax errors for the lines containing : do parse (); Odd that there would be syntax errors on a script that has been working for years.

        From Perl 5.20 delta:

        do can no longer be used to call subroutines

        The do SUBROUTINE(LIST) form has resulted in a deprecation warning since Perl v5.0.0, and is now a syntax error.


        With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
        Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
        "Science is about questioning the status quo. Questioning authority". I knew I was on the right track :)
        In the absence of evidence, opinion is indistinguishable from prejudice.
        Presuming Re^4: Win 10 Anniversary killed Perl is true (I have no doubt as to the veracity of it, as BrowserUk has demonstrated deep knowledge many times in the past), it would appear that you're either not using warnings or ignoring warning output. Both are considered bad form and a path to madness.
Re^2: Win 10 Anniversary killed Perl
by cxgy (Novice) on Sep 27, 2016 at 03:49 UTC
    It seems like I have two issues. #1: The command  do something (); now gives syntax errors. #2: The command  use LWP::Simple; no longer seems to do anything.

      #2: The command use LWP::Simple; no longer seems to do anything.

      What do you mean by that? Error message? No error message? Something else?

        I was looking at the wrong file. It turns out it is downloading but what isn't working is automatic appending. I download 11 files and join them into 1 by using  $file = ">c:/filename"; for the 2nd thru 11th files. The > command no longer seems to work. EDIT : I have my script working again by removing the > and instead combining the files after they are loaded using the windows command copy \b. Thanks.
      I've solved the subroutine issue by removing the  do command. Not sure why this is suddenly needed. Now for grabbing files from the internet, I was using this
      use LWP::Simple; $url = "http://webfile"; $file = "c:/somefile"; getstore($url,$file);
      Is this code obsolete as well? Is there a replacement? Tks.

        Is this code obsolete as well? Is there a replacement? Tks.

        Does it work?