Aug 22, 2015, 8:33 AM
Post #5 of 9
I'm afraid I'm not able to access the Perl Monk website... Just this one (network connection issues, I think...).
Either way, I'm not an expert in the GET function in Perl. So all that I know, is to get a simple request like this for example:
print "Content-type: text/html\n\n";
$out = (get $url) || (error("Can't connect to server at $url."));
This works with all my scripts. I send a url and get a text response - and then I handle the information.
BUT in this particular case, one of the arguments (targets) must be a text file uploaded at the same time as the request...
This is done with the curl command I've mentioned.
(This post was edited by jkepler on Aug 22, 2015, 8:35 AM)