projects
/
p5sagit/p5-mst-13.2.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
d685c22
)
IO::Dir destructor
Zefram [Fri, 7 Sep 2007 23:06:36 +0000 (
00:06
+0100)]
Message-ID: <
20070907220636
.GB24543@fysh.org>
p4raw-id: //depot/perl@33983
ext/IO/lib/IO/Dir.pm
patch
|
blob
|
blame
|
history
diff --git
a/ext/IO/lib/IO/Dir.pm
b/ext/IO/lib/IO/Dir.pm
index
06892f5
..
8248418
100644
(file)
--- a/
ext/IO/lib/IO/Dir.pm
+++ b/
ext/IO/lib/IO/Dir.pm
@@
-38,6
+38,7
@@
sub new {
sub DESTROY {
my ($dh) = @_;
+ local($., $@, $!, $^E, $?);
no warnings 'io';
closedir($dh);
}