summaryrefslogtreecommitdiff
path: root/lib/Test
diff options
context:
space:
mode:
authorSteve Peters <steve@fisharerojo.org>2008-10-15 18:23:56 +0000
committerSteve Peters <steve@fisharerojo.org>2008-10-15 18:23:56 +0000
commit50d1e3bd601d3c7762a4c20e263f40782db52148 (patch)
treec70671c5afe1cd4d1a62e10f22ec0a23ec193ed7 /lib/Test
parent87f9c3f59c3e56a72bcc46cf3cff7442b40b537c (diff)
downloadperl-50d1e3bd601d3c7762a4c20e263f40782db52148.tar.gz
One final tweak for the Test-Simple-0.82 upgrade. Ugh.
p4raw-id: //depot/perl@34490
Diffstat (limited to 'lib/Test')
-rw-r--r--lib/Test/Simple/t/lib/SigDie.pm6
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/Test/Simple/t/lib/SigDie.pm b/lib/Test/Simple/t/lib/SigDie.pm
new file mode 100644
index 0000000000..f954e2db78
--- /dev/null
+++ b/lib/Test/Simple/t/lib/SigDie.pm
@@ -0,0 +1,6 @@
+package SigDie;
+
+use vars qw($DIE);
+$SIG{__DIE__} = sub { $DIE = $@ };
+
+1;