June 27, 2005 | Phalanx from the Trenches | Prev Next |
Prior to upgrading test suite to Test::More
print "1..1\n";
if ($Text::Template::VERSION == 1.44) { print "ok 1\n"; } else { print "not ok 1\n"; }
After:
use Test::More tests => 1;
cmp_ok ($Text::Template::VERSION, '==', 1.44, "Version check (1.44)");
Home Last TOC | Copyright © 2005 James E Keenan and Marc Prewitt | Prev Next |