Nevermind, the reason is that the documentation is missing the $options hash description for get(). To fix it, one needs to add { no_ack =&gt; 0 } if you&#39;re using transactions.<br><br>-James<br><br><div class="gmail_quote">
On Wed, May 30, 2012 at 12:46 PM, iceblaze <span dir="ltr">&lt;<a href="mailto:iceblaze@gmail.com" target="_blank">iceblaze@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hello,<br><br>I am attempting to run the function as follows:<br><br><br>��������������� try {<br>����������������������� $successful = 1;<br>����������������������� $msg = $self-&gt;{_rabbit}-&gt;get($self-&gt;{_channel}, $self-&gt;{_queue});<br>

��������������� } catch {<br>����������������������� $successful = 0;<br>����������������������� $self-&gt;error_handler(&quot;get - $_&quot;);<br>��������������� };<br><br>which should work, and this does work when i use recv(), but when I try to use get() <br>

<br><br>������� F::Rabbit::__ANON__(&#39;Unexpected header 1! at F/Rabbit.pm line...&#39;) called at /usr/lib/perl5/site_perl/5.8.8/Try/Tiny.pm line 100<br><br>Does anyone know what the unexpected header could be, or how I can go about troubleshooting this?<br>

<br>Thanks!<br><br>-James<span class="HOEnZb"><font color="#888888"><br clear="all"><br>-- <br>&quot;Of course, the actual government of any computer is run by that fascist dictator known as the operating system. But a wise dictator knows when to let the people think they&#39;re capitalists--and when to let them think they&#39;re communists.&quot; - Programming Perl third edition<br>


</font></span></blockquote></div><br><br clear="all"><br>-- <br>&quot;Of course, the actual government of any computer is run by that fascist dictator known as the operating system. But a wise dictator knows when to let the people think they&#39;re capitalists--and when to let them think they&#39;re communists.&quot; - Programming Perl third edition<br>