in reply to Re^2: LWP::UserAgent downloading zip files
in thread LWP::UserAgent downloading zip files

You are welcome. Trust me, there is a difference between GET and POST requests. It is quite possible that a server could be configured to accept GET and POST requests for the same URL, but your program should not assume that.

As far as seeing snippets of code: Try to stick to the official documentation for the modules you use (and a good place to look for implementation examples is in the module distribution's tests) and build up your code following that so you know what you are doing. Copying chunks of code you spot in various places in the wild can be useful but should be accompanied with working hard to understand how the tools you are using really work.


The way forward always starts with a minimal test.
  • Comment on Re^3: LWP::UserAgent downloading zip files