I can't think of any security issues that would arise from pulling files down in using a socket and HTTP directives, but keep in mind that if the sockets are not set up properly, you may leave ports open, so making sure that you close the sockets explicitly is always a good measure.
Also be sure to run perl with the Taint option if you plan on using the output from a remote location as the input on your script.