diff options
author | Jarkko Hietaniemi <jhi@iki.fi> | 2000-07-30 04:37:29 +0000 |
---|---|---|
committer | Jarkko Hietaniemi <jhi@iki.fi> | 2000-07-30 04:37:29 +0000 |
commit | 551cd33c9579b0941c9f2eb742630b602b453bd6 (patch) | |
tree | 73f28bfaf243412bbcac1f52ad4d5aba1c57b152 /t/op/do.t | |
parent | e01b9e885c888f1f2271506404f791df89bcc483 (diff) | |
download | perl-551cd33c9579b0941c9f2eb742630b602b453bd6.tar.gz |
A new version of the "remove UPPERACSE string comparison"
operators. The problem with the previous one (change #6454)
was that it was for Perl 5.6.0. From Paul Marquess.
p4raw-link: @6454 on //depot/perl: d164fe835174420df93c1795763a090dc6471f0a
p4raw-id: //depot/perl@6466
Diffstat (limited to 't/op/do.t')
-rwxr-xr-x | t/op/do.t | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -21,18 +21,18 @@ print "1..15\n"; $_[0] = "not ok 1\n"; $result = do foo1("ok 1\n"); print "#2\t:$result: eq :value:\n"; -if ($result EQ 'value') { print "ok 2\n"; } else { print "not ok 2\n"; } -if ($_[0] EQ "not ok 1\n") { print "ok 3\n"; } else { print "not ok 3\n"; } +if ($result eq 'value') { print "ok 2\n"; } else { print "not ok 2\n"; } +if ($_[0] eq "not ok 1\n") { print "ok 3\n"; } else { print "not ok 3\n"; } $_[0] = "not ok 4\n"; $result = do foo2("not ok 4\n","ok 4\n","not ok 4\n"); print "#5\t:$result: eq :value:\n"; -if ($result EQ 'value') { print "ok 5\n"; } else { print "not ok 5\n"; } -if ($_[0] EQ "not ok 4\n") { print "ok 6\n"; } else { print "not ok 6\n"; } +if ($result eq 'value') { print "ok 5\n"; } else { print "not ok 5\n"; } +if ($_[0] eq "not ok 4\n") { print "ok 6\n"; } else { print "not ok 6\n"; } $result = do{print "ok 7\n"; 'value';}; print "#8\t:$result: eq :value:\n"; -if ($result EQ 'value') { print "ok 8\n"; } else { print "not ok 8\n"; } +if ($result eq 'value') { print "ok 8\n"; } else { print "not ok 8\n"; } sub blather { print @_; |