Subject: | don't work under perl 5.5 |
Under perl 5.5
my $pack = pack("Z*","perl");
warn Net::SMPP::hexdump($pack,"\t");
########
0000: 70 65 72 6c
########
But in perl 5.6
########
0000: 70 65 72 6c 00
########
That's why using perl 5.5 you'll obtain corrupted PDU and receive status
1 (Message Length is invalid (ESME_RINVMSGLEN=0x00000001))