projects
/
platform
/
upstream
/
perl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8478abc
)
Fix [perl #35162] $SIG{__DIE__} = 'IGNORE' is base.pm is illegal
author
Rafael Garcia-Suarez
<rgarciasuarez@gmail.com>
Mon, 2 May 2005 09:37:04 +0000
(09:37 +0000)
committer
Rafael Garcia-Suarez
<rgarciasuarez@gmail.com>
Mon, 2 May 2005 09:37:04 +0000
(09:37 +0000)
p4raw-id: //depot/perl@24360
lib/base.pm
patch
|
blob
|
history
diff --git
a/lib/base.pm
b/lib/base.pm
index
832b6a4
..
001914b
100644
(file)
--- a/
lib/base.pm
+++ b/
lib/base.pm
@@
-2,7
+2,7
@@
package base;
use strict 'vars';
use vars qw($VERSION);
-$VERSION = '2.0
6
';
+$VERSION = '2.0
7
';
# constant.pm is slow
sub SUCCESS () { 1 }
@@
-78,7
+78,7
@@
sub import {
unless defined ${$base.'::VERSION'};
}
else {
- local $SIG{__DIE__}
= 'IGNORE'
;
+ local $SIG{__DIE__};
eval "require $base";
# Only ignore "Can't locate" errors from our eval require.
# Other fatal errors (syntax etc) must be reported.