Re: A new PerlIO coredump
[p5sagit/p5-mst-13.2.git] / t / lib / u-sum.t
CommitLineData
f4a2945e 1BEGIN {
2 chdir 't' if -d 't';
3 @INC = '../lib';
4}
5
6use List::Util qw(sum);
7
8print "1..3\n";
9
10print "not " if defined sum;
11print "ok 1\n";
12
13print "not " unless sum(9) == 9;
14print "ok 2\n";
15
16print "not " unless sum(1,2,3,4) == 10;
17print "ok 3\n";
18