develooper Front page | perl.perl5.porters | Postings from April 2003

[PATCH] Minor tweak to eliminate warnings

From:
John Peacock
Date:
April 25, 2003 02:04
Subject:
[PATCH] Minor tweak to eliminate warnings
Message ID:
3EA8F9CE.90806@rowman.com
This is only a problem until I autoupgrade the $VERSION scalar to a version 
object (which I really do have almost ready to go!):

$ PERL_DESTRUCT_LEVEL=3 ./perl harness ../lib/Test/Simple/t/todo.t
../lib/Test/Simple/t/todo....Argument "2.27_04" isn't numeric in numeric lt (<) 
at ../lib/Test/Simple/t/todo.t line 14.
../lib/Test/Simple/t/todo....ok
All tests successful.
Files=1, Tests=15,  0 wallclock secs ( 0.21 cusr +  0.01 csys =  0.22 CPU)

Patch attached (to prevent complaints about my choice of mail clients ;~).

John

-- 
John Peacock
Director of Information Research and Technology
Rowman & Littlefield Publishing Group
4720 Boston Way
Lanham, MD 20706
301-459-3366 x.5010
fax 301-429-5747



nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About