Hello,
In the below code, when i use Net::RabbitMQ, the recieved result is correct BUT when I use Net::AMQP::RabbitMQ, I get this error:
"Malformed UTF-8 character (overflow at 0xfff0d3f5f0d3f5c2, byte 0x00, after start byte 0xff) in unpack" and the result is all mixed up! Do these modules have different encodings? Any idea on what is happening there? Thanks
my $type=2;
my $key=85170777777;
my $bin = pack('Cx7Q',$type,$key);
my $res = $me->{mq}->publish(1, "nc.look", $bin, {exchange=>'nc'}, {re
+ply_to => $me->{replyQ},});
$res = $me->{mq}->recv();
print Dumper $res;