CGI/Perl Guide | Learning Center | Forums | Advertise | Login
Site Search: in

  Main Index MAIN
Search Posts SEARCH
Who's Online WHO'S
Log in LOG

Home: Perl Programming Help: Beginner:
Syntax help with HTTP POSTs


New User

Oct 12, 2011, 9:21 PM

Post #1 of 1 (378 views)
Syntax help with HTTP POSTs Can't Post

Could use some help here since I am very unfamiliar. below is my sub, I believe I have some syntax errors and was hoping someone has done something similar before
end result should look something like:

from the logs looks like it is just getting:

use  HTTP::Request::Common qw(POST); 
use LWP::UserAgent;
sub DeleteURLs {
$ua = LWP::UserAgent->new;
foreach my $d (@deleted) {
my $req = POST '',[ Docs => $d];
print $ua->request($req)->as_string;


Search for (options) Powered by Gossamer Forum v.1.2.0

Web Applications & Managed Hosting Powered by Gossamer Threads
Visit our Mailing List Archives