good chemistry is complicated,
and a little bit messy -LW
Strange errors in CPAN modules when running on Windows 8.1by schweini (Friar)
|on May 21, 2015 at 00:56 UTC
schweini has asked for the wisdom of the Perl Monks concerning the following question:
I just switched to Windows 8 with Strawberry perl.
So I installed a couple of modules via Stawberry perl´s cpan, and I´m getting errors and warning left and right.
As an example, I am trying to hook up a LeapMotion to perl using the company provided Device::Leap, and get errors like:
Which seems odd, considering that that module is not doing anything fancy - just a bit of socket reading. The authors even explicitly turned on warnings and strict, so they would have seen these errors, too.
Even more shockingly, I´m trying to talk to an Arduino using Win32::SerialPort, and I get errors like:
Apart from the fact that serial communications arent working, the "uninitialized value" error seems out-of place for such a popular module.
On a hunch, I tried running the same programs from an elevated command window, but I get the same errors.
Is there something I am missing? Is this a Win8.1 issue? Some new perl version thing?
Edit: For future readers: Most of the issues seem to have disappeared after I switched to 32-bit Strawberry perl. Seems that Win32::SerialPort doesnt like 64bit perl. I would've thought that that isn't an issue anymore, but it is.