summaryrefslogtreecommitdiff
path: root/eg/cgi/crash.cgi
diff options
context:
space:
mode:
Diffstat (limited to 'eg/cgi/crash.cgi')
-rw-r--r--eg/cgi/crash.cgi6
1 files changed, 6 insertions, 0 deletions
diff --git a/eg/cgi/crash.cgi b/eg/cgi/crash.cgi
new file mode 100644
index 0000000000..64f03c7b3d
--- /dev/null
+++ b/eg/cgi/crash.cgi
@@ -0,0 +1,6 @@
+#!/usr/local/bin/perl
+
+use CGI::Carp qw(fatalsToBrowser);
+
+# This line invokes a fatal error message at compile time.
+foo bar baz;