I wanted to build an awesome place for people to discuss module specific issues, but I don't have any more time for this, and there are much better places to discuss Perl-related issues. I'd recommend asking your question on Stack Overflow or on Perl Monks.
If you are looking for a Perl tutorial or Perl-related news, I hope these links will serve you well.
Posted on 2007-09-23 10:24:29-07 by liphtier
bind_tranciever - Exception instead of error
Hello!

When binding to SMSC (I think in any mode) if the connection attempt failed there's a perl exception thrown :

Can't call method "bind_transceiver" on an undefined value at /usr/lib/perl5/site_perl/5.8.7/Net/SM +PP.pm line 2185.
(line 2185 in Net::SMPP v1.11)

I think it is not desirable behaviour. It is better if the new_transceiver() method will return some error code or at least undef, so that the application could handle it (i.e. retry bind attempt).

I think it is a bug, but it was there in all versions and many people have encountered this exception and no one complained. So may be they somehow have worked around it.
So if anyone have, please let me know, or nevertheless it should be submitted to buglist ?

Kind regards
Direct Responses: 7300 | Write a response
Posted on 2008-03-09 11:56:27-07 by liphtier in response to 6113
Re: bind_tranciever - Exception instead of error
now I know how to workaround that, It is better to construct with new_connect, and then bind_trnasceiver
Direct Responses: Write a response