Re: AnyEvent not working in Windows 2000

[email protected] (Olivier MenguĂ©) Wed, 14 Nov 2012 10:01:47 +0100
Newsgroups perl.win32.vanilla
Message-ID <CAEWvDF+29gHBDeuNYYO1gzf3oUEB4-n1NcZgbD-8Umz5_uLaTg@mail.gmail.com>
2012/11/13 Javier Marcon <[email protected]>

> Hello I installed Net::RabbitFoot (that uses AnyEvent) on Windows 2000
> (with a Strawberyperl installation) and it doesn't work, it gives this
> error:
>
> Can't use string ("") as a subroutine ref while "strict refs" in use at
> C:/straw
> berry/perl/site/lib/Coro/AnyEvent.pm line 147.
>

Line 147 of Coro::AnyEvent in Coro 6.10 is POD text, so I suspect that you
are not using the latest version. So try to upgrade this module first.

Which version of StrawberryPerl do you use?


>
> The same scripts in Ubuntu Linux work fine.
>

Check if you are using the same version of Perl and of each module
dependency (not just Coro).
You can use Devel::TraceUse to list all modules loaded by the script.

Olivier.