summaryrefslogtreecommitdiff
path: root/t/op/re_tests
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2008-01-05 13:13:36 +0000
committerNicholas Clark <nick@ccl4.org>2008-01-05 13:13:36 +0000
commit5a51db0500cb91f11a554807ca60350bc43f0e5b (patch)
treefe51df528f6cbc453d89c1fb790694c68e15f00b /t/op/re_tests
parent69240efd70fee399a5232ed995c383b154000a08 (diff)
downloadperl-5a51db0500cb91f11a554807ca60350bc43f0e5b.tar.gz
Protect me (and my fellow muppets) from screens of "syntax errors" if
one accidentally feeds embed.fnc or t/op/re_tests to the perl interpreter. p4raw-id: //depot/perl@32839
Diffstat (limited to 't/op/re_tests')
-rw-r--r--t/op/re_tests3
1 files changed, 3 insertions, 0 deletions
diff --git a/t/op/re_tests b/t/op/re_tests
index 87a3e50285..c2397e68b6 100644
--- a/t/op/re_tests
+++ b/t/op/re_tests
@@ -1,3 +1,6 @@
+# This stops me getting screenfulls of syntax errors every time I accidentally
+# run this file via a shell glob
+__END__
abc abc y $& abc
abc abc y $-[0] 0
abc abc y $+[0] 3