Subject: | Warnings spewed with perl < 5.8.8 |
Building with perl < 5.8.8 results in warnings being spewed from
Dynaloader, e.g.:
./Build test
t/01-validate.........................Constant subroutine SCALAR
redefined at /usr/lib/perl5/5.8.3/i386-linux-thread-multi/DynaLoader.pm
line -1.
Constant subroutine ARRAYREF redefined at
/usr/lib/perl5/5.8.3/i386-linux-thread-multi/DynaLoader.pm line -1.
Constant subroutine HASHREF redefined at
/usr/lib/perl5/5.8.3/i386-linux-thread-multi/DynaLoader.pm line -1.
Constant subroutine CODEREF redefined at
/usr/lib/perl5/5.8.3/i386-linux-thread-multi/DynaLoader.pm line -1.
Constant subroutine GLOB redefined at
/usr/lib/perl5/5.8.3/i386-linux-thread-multi/DynaLoader.pm line -1.
Constant subroutine GLOBREF redefined at
/usr/lib/perl5/5.8.3/i386-linux-thread-multi/DynaLoader.pm line -1.
Constant subroutine SCALARREF redefined at
/usr/lib/perl5/5.8.3/i386-linux-thread-multi/DynaLoader.pm line -1.
Constant subroutine UNKNOWN redefined at
/usr/lib/perl5/5.8.3/i386-linux-thread-multi/DynaLoader.pm line -1.
Constant subroutine UNDEF redefined at
/usr/lib/perl5/5.8.3/i386-linux-thread-multi/DynaLoader.pm line -1.
Constant subroutine OBJECT redefined at
/usr/lib/perl5/5.8.3/i386-linux-thread-multi/DynaLoader.pm line -1.
Constant subroutine HANDLE redefined at
/usr/lib/perl5/5.8.3/i386-linux-thread-multi/DynaLoader.pm line -1.
Constant subroutine BOOLEAN redefined at
/usr/lib/perl5/5.8.3/i386-linux-thread-multi/DynaLoader.pm line -1.
ok
I can work around this by building only the pure-perl version with
Build.PL --pp but then the t/release-xs-is-loaded.t test fails as it
gets the pure-perl version when it expects the XS version. That's not a
big deal since it's a release test but you might want to fix it anyway.