in reply to Sending XML data is simple right?
You need to read the data into a single scalar, not into an array:
As you want to send it all all to somewhere it's pointless to ask Perl to split the data into individual lines and then try to merge it all back together.... my $data = do {local $/; <FILE>;}; my $response = $browser->post( $url, Content => $data ); ...
|
|---|