Skip Menu |

This queue is for tickets about the Net-SMPP CPAN distribution.

Report information
The Basics
Id: 68928
Status: new
Priority: 0/
Queue: Net-SMPP

People
Owner: Nobody in particular
Requestors: amit.ganjoo [...] gmail.com
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: Undefined subroutine &main
Date: Sat, 18 Jun 2011 23:37:37 -0400
To: bug-Net-SMPP [...] rt.cpan.org
From: Amit Ganjoo <amit.ganjoo [...] gmail.com>
I am using the Net:SMPP package and I can send OK but when I run the esme-rec.pl, I can see the first message and after that I get the following error Undefined subroutine &main:: called at ./esme-rec.pl line 202. Here is the code at this line if (defined reply_tab->{$pdu->{cmd}}) { * &{reply_tab->{$pdu->{cmd}}{reply}}($c, $pdu);* -* THIS IS THE LINE* warn "Replied"; } else { warn "Don't know to reply to $pdu->{cmd}"; sleep 1; } I have tried removing the & sign in the front and them I don't get any error message by I keep on getting the same messages back from the SMSC since the deliver_sm_resp never gets sent back Any help or guidance you can provide would be great Thanks Amit