summaryrefslogtreecommitdiff
path: root/lib/CGI/eg/crash.cgi
diff options
context:
space:
mode:
Diffstat (limited to 'lib/CGI/eg/crash.cgi')
-rw-r--r--lib/CGI/eg/crash.cgi6
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/CGI/eg/crash.cgi b/lib/CGI/eg/crash.cgi
new file mode 100644
index 0000000000..64f03c7b3d
--- /dev/null
+++ b/lib/CGI/eg/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;