Subject: | Bug(?) report |
Date: | Sat, 23 Nov 2013 17:03:30 +0100 |
To: | bug-AnyEvent-MtGox-Stream [...] rt.cpan.org |
From: | Waïl Yahyaoui <wail.yahyaoui [...] gmail.com> |
Hello,
After installing (sudo cpan install AnyEvent::MtGox::Stream)
AnyEvent::MtGox::Stream, I tried to run the following script :
#!/usr/bin/perl
use AnyEvent::MtGox::Stream;
my $client = AnyEvent::MtGox::Stream->new(
on_message => sub { },
on_error => sub { },
on_disconnect => sub { },
);
And I got this error :
2013-11-23 16:57:35.057519 +0100 error AnyEvent::Util: Runtime error in
AnyEvent::guard callback: Can't call method "destroy" on an undefined value
at /usr/local/share/perl/5.14.2/AnyEvent/MtGox/Stream.pm line 111.
My information :
DISTRIB_ID=LinuxMint
DISTRIB_RELEASE=14
This is perl 5, version 14, subversion 2 (v5.14.2) built for
x86_64-linux-gnu-thread-multi
Linux 3.5.0-17-generic #28-Ubuntu SMP Tue Oct 9 19:31:23 UTC 2012 x86_64
x86_64 x86_64 GNU/Linux
Don't hesitate to ask me for more information.
Best regards,
Waïl Yahyaoui