Subject: | Fails test on perl 5.10.0 |
While watching cpantesters I found that all testers with perl 5.10.0
fail the same way. I seem to recall that the warning about v-string in
require was removed from core some day but this seems to have happened
after 5.10.0.
The diagnostics:
# Failed test 'no warnings'
# at /usr/local/perl-5.10/lib/site_perl/5.10.0/Test/NoWarnings.pm line 45.
# There were 1 warning(s)
# Previous test 0 ''
# v-string in use/require non-portable at
/home/sand/.cpan/build/Net-IDN-Encode-0.99_20091231-N0jTzJ/blib/lib/Net/IDN/Punycode.pm
line 3.
# at
/home/sand/.cpan/build/Net-IDN-Encode-0.99_20091231-N0jTzJ/blib/lib/Net/IDN/Punycode.pm
line 3
# Net::IDN::Punycode::BEGIN() called at
/home/sand/.cpan/build/Net-IDN-Encode-0.99_20091231-N0jTzJ/blib/lib/Net/IDN/Punycode.pm
line 3
[...]
Or a full test here:
http://www.nntp.perl.org/group/perl.cpan.testers/2009/12/msg6596532.html
I patched Punycode and all tests pass with this:
--- lib/Net/IDN/Punycode.pm~ 2010-01-07 17:22:13.000000000 +0100
+++ lib/Net/IDN/Punycode.pm 2010-01-07 17:22:33.000000000 +0100
@@ -1,6 +1,6 @@
package Net::IDN::Punycode;
-use 5.8.3;
+use 5.008003;
use strict;
use utf8;
HTH && Thanks!