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

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.

Replies are listed 'Best First'.
Re^3: Win 10 Anniversary killed Perl
by Anonymous Monk on Sep 27, 2016 at 04:28 UTC

    #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.

        using the windows command copy \b

        I presume you mean copy /b?

Re^3: Win 10 Anniversary killed Perl
by cxgy (Novice) on Sep 27, 2016 at 04:28 UTC
    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?