summaryrefslogtreecommitdiff
path: root/t
diff options
context:
space:
mode:
authorAndy Dougherty <doughera@lafcol.lafayette.edu>1994-04-04 00:00:00 +0000
committerAndy Dougherty <doughera@lafcol.lafayette.edu>1994-04-04 00:00:00 +0000
commit2304df62caa7d9be70e8b8bcdb454e139c9c103d (patch)
tree98a456ef0fbe59b1a02bfe68afa4a3d9afb4f21c /t
parent8990e3071044a96302560bbdb5706f3e74cf1bef (diff)
downloadperl-2304df62caa7d9be70e8b8bcdb454e139c9c103d.tar.gz
perl 5.0 alpha 8
[the last one taken from the September '94 InfoMagic CD; a similar style of cleanup as the previous commits was performed]
Diffstat (limited to 't')
-rwxr-xr-xt/SDBM_File.so4
-rwxr-xr-xt/lib/english.t4
2 files changed, 6 insertions, 2 deletions
diff --git a/t/SDBM_File.so b/t/SDBM_File.so
new file mode 100755
index 0000000000..ace796d88b
--- /dev/null
+++ b/t/SDBM_File.so
@@ -0,0 +1,4 @@
+#!./perl -Dst
+
+$ref = [[],2,[3,4,5,]];
+print ${$$ref[2]}[2] == 5 ? "ok 16\n" : "not ok 16\n";
diff --git a/t/lib/english.t b/t/lib/english.t
index bbc0c0c6b7..5c76407357 100755
--- a/t/lib/english.t
+++ b/t/lib/english.t
@@ -8,14 +8,14 @@ require English; import English;
print $PID == $$ ? "ok 1\n" : "not ok 1\n";
$_ = 1;
-print $MAGIC == $_ ? "ok 2\n" : "not ok 2\n";
+print $ARG == $_ ? "ok 2\n" : "not ok 2\n";
sub foo {
print $ARG[0] == $_[0] ? "ok 3\n" : "not ok 3\n";
}
&foo(1);
-$MAGIC = "ok 4\nok 5\nok 6\n";
+$ARG = "ok 4\nok 5\nok 6\n";
/ok 5\n/;
print $PREMATCH, $MATCH, $POSTMATCH;