diff options
author | Nicholas Clark <nick@ccl4.org> | 2007-01-08 21:20:26 +0000 |
---|---|---|
committer | Nicholas Clark <nick@ccl4.org> | 2007-01-08 21:20:26 +0000 |
commit | e81465beff59e6c9907613fe00ebce59d81fb1e8 (patch) | |
tree | 4c6010205cc62e3f79dff3aa7dc7ac005ccccab8 /ext | |
parent | 3236f110cb098d9081961e6c9f4585ecaf729cc5 (diff) | |
download | perl-e81465beff59e6c9907613fe00ebce59d81fb1e8.tar.gz |
do $file; won't propagate errors from die, as do is an implicit eval.
So need to propagate errors with $@.
p4raw-id: //depot/perl@29723
Diffstat (limited to 'ext')
-rw-r--r-- | ext/DynaLoader/hints/gnukfreebsd.pl | 2 | ||||
-rw-r--r-- | ext/DynaLoader/hints/gnuknetbsd.pl | 2 | ||||
-rw-r--r-- | ext/NDBM_File/hints/gnukfreebsd.pl | 2 | ||||
-rw-r--r-- | ext/NDBM_File/hints/gnuknetbsd.pl | 2 | ||||
-rw-r--r-- | ext/ODBM_File/hints/gnukfreebsd.pl | 2 | ||||
-rw-r--r-- | ext/ODBM_File/hints/gnuknetbsd.pl | 2 | ||||
-rw-r--r-- | ext/POSIX/hints/gnukfreebsd.pl | 2 | ||||
-rw-r--r-- | ext/POSIX/hints/gnuknetbsd.pl | 2 | ||||
-rw-r--r-- | ext/Storable/hints/gnukfreebsd.pl | 2 | ||||
-rw-r--r-- | ext/Storable/hints/gnuknetbsd.pl | 2 |
10 files changed, 10 insertions, 10 deletions
diff --git a/ext/DynaLoader/hints/gnukfreebsd.pl b/ext/DynaLoader/hints/gnukfreebsd.pl index 6e37b40270..db63567966 100644 --- a/ext/DynaLoader/hints/gnukfreebsd.pl +++ b/ext/DynaLoader/hints/gnukfreebsd.pl @@ -1 +1 @@ -do './hints/linux.pl'; +do './hints/linux.pl' or die $@; diff --git a/ext/DynaLoader/hints/gnuknetbsd.pl b/ext/DynaLoader/hints/gnuknetbsd.pl index 6e37b40270..db63567966 100644 --- a/ext/DynaLoader/hints/gnuknetbsd.pl +++ b/ext/DynaLoader/hints/gnuknetbsd.pl @@ -1 +1 @@ -do './hints/linux.pl'; +do './hints/linux.pl' or die $@; diff --git a/ext/NDBM_File/hints/gnukfreebsd.pl b/ext/NDBM_File/hints/gnukfreebsd.pl index 6e37b40270..db63567966 100644 --- a/ext/NDBM_File/hints/gnukfreebsd.pl +++ b/ext/NDBM_File/hints/gnukfreebsd.pl @@ -1 +1 @@ -do './hints/linux.pl'; +do './hints/linux.pl' or die $@; diff --git a/ext/NDBM_File/hints/gnuknetbsd.pl b/ext/NDBM_File/hints/gnuknetbsd.pl index 6e37b40270..db63567966 100644 --- a/ext/NDBM_File/hints/gnuknetbsd.pl +++ b/ext/NDBM_File/hints/gnuknetbsd.pl @@ -1 +1 @@ -do './hints/linux.pl'; +do './hints/linux.pl' or die $@; diff --git a/ext/ODBM_File/hints/gnukfreebsd.pl b/ext/ODBM_File/hints/gnukfreebsd.pl index 6e37b40270..db63567966 100644 --- a/ext/ODBM_File/hints/gnukfreebsd.pl +++ b/ext/ODBM_File/hints/gnukfreebsd.pl @@ -1 +1 @@ -do './hints/linux.pl'; +do './hints/linux.pl' or die $@; diff --git a/ext/ODBM_File/hints/gnuknetbsd.pl b/ext/ODBM_File/hints/gnuknetbsd.pl index 6e37b40270..db63567966 100644 --- a/ext/ODBM_File/hints/gnuknetbsd.pl +++ b/ext/ODBM_File/hints/gnuknetbsd.pl @@ -1 +1 @@ -do './hints/linux.pl'; +do './hints/linux.pl' or die $@; diff --git a/ext/POSIX/hints/gnukfreebsd.pl b/ext/POSIX/hints/gnukfreebsd.pl index 6e37b40270..db63567966 100644 --- a/ext/POSIX/hints/gnukfreebsd.pl +++ b/ext/POSIX/hints/gnukfreebsd.pl @@ -1 +1 @@ -do './hints/linux.pl'; +do './hints/linux.pl' or die $@; diff --git a/ext/POSIX/hints/gnuknetbsd.pl b/ext/POSIX/hints/gnuknetbsd.pl index 6e37b40270..db63567966 100644 --- a/ext/POSIX/hints/gnuknetbsd.pl +++ b/ext/POSIX/hints/gnuknetbsd.pl @@ -1 +1 @@ -do './hints/linux.pl'; +do './hints/linux.pl' or die $@; diff --git a/ext/Storable/hints/gnukfreebsd.pl b/ext/Storable/hints/gnukfreebsd.pl index 6e37b40270..db63567966 100644 --- a/ext/Storable/hints/gnukfreebsd.pl +++ b/ext/Storable/hints/gnukfreebsd.pl @@ -1 +1 @@ -do './hints/linux.pl'; +do './hints/linux.pl' or die $@; diff --git a/ext/Storable/hints/gnuknetbsd.pl b/ext/Storable/hints/gnuknetbsd.pl index 6e37b40270..db63567966 100644 --- a/ext/Storable/hints/gnuknetbsd.pl +++ b/ext/Storable/hints/gnuknetbsd.pl @@ -1 +1 @@ -do './hints/linux.pl'; +do './hints/linux.pl' or die $@; |