in reply to Re: HTTP POST error
in thread HTTP POST error
Try moving it to after foreach loop
Assuming you want to send all the data in one post.foreach my $file (@files){ open FILE, $file or die $!; while (<FILE>){ $xml .= $_; } } $req->content($xml);
|
|---|