Subject: | Test fails with perl 5.12.0 (version.pm-related?) |
Tests fail with perl 5.12.0-RC0:
...
Prototype after '@' for File::Attributes::_foreach_plugin : @& at
/var/tmp/CPAN-build/File-Attributes-0.04-WJHVKr/blib/lib/File/Attributes.pm
line 27.
Invalid version format (non-numeric data) at t/override-notapplicable.t
line 19.
# Looks like you planned 9 tests but ran 1.
# Looks like your test exited with 255 just after 1.
t/override-notapplicable.t ..
...
The "prototype" warning does not seem to be fatal, but is also new with
perl 5.12.0.
The "version" error is fatal and new with perl 5.12.0. With 5.10.1 there
was just a warning:
Version string 'foo-o-matic' contains invalid data; ignoring:
'foo-o-matic' at t/override-notapplicable.t line 19.
My guess is that the new version.pm version parsing is causing the
problem, because even the "lax" parsing does not handle the problematic
version number.
Regards,
Slaven