summaryrefslogtreecommitdiff
path: root/t/op/split.t
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>2000-07-26 16:06:56 +0000
committerJarkko Hietaniemi <jhi@iki.fi>2000-07-26 16:06:56 +0000
commitcc50a2034c8f38d702b126ee0ae87fcad255227a (patch)
tree952c0923fec1004f60bdb286aa5b2d16919cc461 /t/op/split.t
parenteae9c1515e21a0ce7cdb8dfed3c4386402d77e42 (diff)
downloadperl-cc50a2034c8f38d702b126ee0ae87fcad255227a.tar.gz
More split() doc and test patches from Mike Guy.
p4raw-id: //depot/perl@6443
Diffstat (limited to 't/op/split.t')
-rwxr-xr-xt/op/split.t2
1 files changed, 1 insertions, 1 deletions
diff --git a/t/op/split.t b/t/op/split.t
index 58a311386a..78f51f5954 100755
--- a/t/op/split.t
+++ b/t/op/split.t
@@ -111,7 +111,7 @@ $_ = "a : b :c: d";
if (($res = join(".",@ary)) eq "a.b.c.d") {print "ok 25\n";} else {print "not ok 25\n# res=`$res' != `a.b.c.d'\n";}
# use of match result as pattern (!)
-'p:q:r:s' eq join ':', split('abc' =~ /b/, 'p1q1r1s') or print "no ";
+'p:q:r:s' eq join ':', split('abc' =~ /b/, 'p1q1r1s') or print "not ";
print "ok 26\n";
# /^/ treated as /^/m