Subject: | Non-numeric argument warning installing Test-Simple-0.63 |
While installing Test-Simple-0.63, I received the following warning while running 'make test'
and 'prove -v':
[Test-Simple-0.63] 536 $ prove -v t/00test_harness_check.t
t/00test_harness_check....1..1
Argument "2.57_04" isn't numeric in addition (+) at /usr/local/lib/perl5/5.8.7/Test/
Builder.pm line 505.
ok 1 - T::H version
ok
All tests successful.
Files=1, Tests=1, 0 wallclock secs ( 0.14 cusr + 0.04 csys = 0.18 CPU)
The warning did not prevent me from installing the Test-Simple distribution.
My Test::Builder is v0.33 and cpan shell reports that as up-to-date. The relevant context in
Test/Builder.pm is:
sub _unoverload_num {
my $self = shift;
$self->_unoverload('0+', @_);
for my $val (@_) {
next unless $self->_is_dualvar($$val);
$$val = $$val+0; # <---- this is line 505
}
}
jimk