Looks like someone was trying to use your server as a DDoS zombie. What kind of Perl or PHP scripts are on your server? Look in your Apache access log for POST requests that may have uploaded one of these files, or GET/POST requests that may have uploaded a URL to download one of these files. See if you can figure out how it got on your server.