3 # $Header: op.split,v 1.0.1.1 88/02/02 11:26:37 root Exp $
11 ($a,$b,$c) = split($FS,$_);
13 if (join(';',$a,$b,$c) eq 'a;b;c') {print "ok 1\n";} else {print "not ok 1\n";}
16 if (join("$_",@ary) eq 'aa:b:cc') {print "ok 2\n";} else {print "not ok 2\n";}
20 if (join(".",@ary) eq "a.b.c.\n") {print "ok 3\n";} else {print "not ok 3\n";}
24 if (join(".",@ary) eq "a.b.c") {print "ok 4\n";} else {print "not ok 4\n";}
26 $_ = join(':',split(' ',' a b c '));
27 if ($_ eq 'a:b:c') {print "ok 5\n";} else {print "not ok 5\n";}
29 $_ = join(':',split(/ */,"foo bar bie\tdoll"));
30 if ($_ eq "f:o:o:b:a:r:b:i:e:\t:d:o:l:l")
31 {print "ok 6\n";} else {print "not ok 6\n";}