in reply to Error POSTing File in Perl

If you get a Error 500 the web server has a problem with your data or a temporary mailfunction.

You did not mention you asked StackOverflow at http://stackoverflow.com/questions/25341815/error-posting-file-in-perl

Your URL in code is nonexistent on the webserver. It's not very helpful posting fake URLs from existing websites and asking for help with code which can not work in reality.
=:/