Re: need Net::AIMTOC help



daniel kaplan wrote:

> "John Bokma" <john@xxxxxxxxxxxxxxx> wrote in message
> news:Xns965A76139E080castleamber@xxxxxxxxxxxxxx
>> daniel kaplan wrote:
>>
>> Does the call to send block until it's finished, or return
>> immediately? In case of the latter, it might be the case that you
>> close the connection before the message is actually send out.
>
> Can't tell if it does or doesn't. The code I posted in the OP is the
> sample code from the CPAN, in the module. So am a little screwed,
> cause Googlling ain't giving me any anwsers either. Help!
>
> What's a guy to do in this situation?

catch Net::AIMTOC::Error with {
my $err = shift;
print $err->stringify, "\n";

};

Can't remember if I saw that in your code, guess not.

--
John Small Perl scripts: http://johnbokma.com/perl/
Perl programmer available: http://castleamber.com/
Happy Customers: http://castleamber.com/testimonials.html

.