title: Receive an XML document sent through HTTP POST in Perl
body: <p>I have an XML document being sent to me by HTTP POST:</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="UTF-8" ?&gt;
    &lt;DeliveryNotification eventType="newMessage"&gt;
      &lt;requestUid&gt;sms9676187&lt;/requestUid&gt;
      &lt;sentMessageUid&gt;sms29282896&lt;/sentMessageUid&gt;
      ....
    &lt;/DeliveryNotification&gt;
  </code></pre>
  
  <p>Which I then receieve in a perl script using the param() subroutine:</p>
  
  <pre><code>#!/usr/bin/perl -w
  use strict;
  use CGI qw/param/;
  use Data::Dumper;
  
  my @xml = param();
  warn Dumper(@xml);
  </code></pre>
  
  <p>and when I Dumper the result I get:</p>
  
  <pre><code>$VAR1 = '&lt;?xml version';
  </code></pre>
  
  <p>It seems to break the file whenever it runs into an '=' sign. If I remove the first eqauls sign to test, it just breaks at the next one. Can this only be solved from the side that is sending the data by escaping the equals or can I do something in Perl?</p>