http://www.perlmonks.org?node_id=1127295


in reply to Re: Strange errors in CPAN modules when running on Windows 8.1
in thread Strange errors in CPAN modules when running on Windows 8.1

This is perl 5, version 20, subversion 2 (v5.20.2) built for MSWin32-x +64-multi-thread

I was guessing that some regression is biting me, but from what i saw in the Leap.pm source, nothing strange stood out? $BUFF is well-declared, so why would it stop being that all of a sudden?

Also, I would hope that something as important as Win32::SerialDevice would pass any tests with any new version of perl?

Replies are listed 'Best First'.
Re^3: Strange errors in CPAN modules when running on Windows 8.1
by syphilis (Archbishop) on May 21, 2015 at 11:32 UTC
    $BUFF is well-declared, so why would it stop being that all of a sudden?

    It's still "well-declared".
    The warning is not that it has not been declared, but that it has not been assigned a value:
    C:\>perl -wle "my $x; print $x;" Use of uninitialized value $x in print at -e line 1. C:\>perl -wle "my $x; $x = 17; print $x;" 17
    Cheers,
    Rob