LWP::Simple getstore does not work in Windows

955 Views Asked by At

As a part of my Perl script I have the following simple command which is supposed to download a $url and store its contents to a file $file:

getstore("$url", "$file");

This works perfectly fine when I run it on my fedora Linux, however when I run the same code on Windows, it seems that the $file remains empty..

This is very strange since, as I mentioned, there was no change to the code and this command is very basic.

Maybe anyone has a clue why such behavior might occur?

Thanks!

1

There are 1 best solutions below

0
On

Finding a proxy quite easy sometimes:

Try to open a nonexisting webpage and most of time the PROXY reports an error and print out its own details.

Try this: -.ds.com Check the line: Your web proxy is:....