title: Why do I get a 404 error with Perl's RabbitMQ consumer?
body: <p>RabbitMQ is setup and I can use the sample script:</p>
  
  <pre><code>use Net::RabbitMQ;
  my $mq = Net::RabbitMQ-&gt;new();
  $mq-&gt;connect("localhost", { user =&gt; "guest", password =&gt; "guest" });
  $mq-&gt;channel_open(1);
  $mq-&gt;publish(1, "queuename", "Hi there!");
  $mq-&gt;disconnect();
  </code></pre>
  
  <p>It posts messages (I assume).  I tried the following for a simple grab of a message off of the queue and I get a 404:</p>
  
  <pre><code>my $mq = Net::RabbitMQ-&gt;new();
  $mq-&gt;connect("localhost", { user =&gt; "guest", password =&gt; "guest" });
  $mq-&gt;channel_open(1);
  print $mq-&gt;get(1, "queuename");
  </code></pre>