Skip Menu |

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

Report information
The Basics
Id: 3845
Status: new
Priority: 0/
Queue: Net-AIM

People
Owner: Nobody in particular
Requestors: josh [...] homelinkcs.com
Cc:
AdminCc:

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



Subject: sub send makes bad method call?
I found that trying to call $aim->send($message), as described in the documentation, in various contexts consistently returned an error such as: No method called "send" for object. at /usr/lib/perl5/site_perl/5.8.0/Net/AIM.pm line 435 I'm no Perl expert, but it appeared that the send sub in AIM.pm should call the method $self->{_conn}->send_to_AOL(@_) rather than $self->{_conn}->send(@_) . So, I changed the sub to: sub send { my $self = shift; return $self->{_conn}->send_to_AOL(@_); } and all seems to work perfectly. I'm running Perl v5.8.0 built for i386-linux-thread-multi on Red Hat Linux release 8.0 (Psyche) Kernel 2.4.18-14, though I doubt my platform affects the bug.