in reply to Re^2: Win 10 Anniversary killed Perl
in thread Win 10 Anniversary killed Perl

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.

Replies are listed 'Best First'.
Re^4: Win 10 Anniversary killed Perl
by BrowserUk (Patriarch) on Sep 27, 2016 at 03:47 UTC

    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.
Re^4: Win 10 Anniversary killed Perl
by jellisii2 (Hermit) on Sep 27, 2016 at 18:14 UTC
    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.