projects
/
p5sagit/p5-mst-13.2.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
d6069db
)
Don't warn about a directory being closed in the DESTROY for
Steve Peters [Mon, 16 Jan 2006 22:31:52 +0000 (22:31 +0000)]
IO::Dir.
p4raw-id: //depot/perl@26868
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
fccd02c
..
e8d5fab
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) = @_;
+ no warnings 'io';
closedir($dh);
}