projects
/
p5sagit/p5-mst-13.2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
Once again syncing after too long an absence
[p5sagit/p5-mst-13.2.git]
/
ext
/
IO
/
lib
/
IO
/
Select.pm
diff --git
a/ext/IO/lib/IO/Select.pm
b/ext/IO/lib/IO/Select.pm
index
e84b54f
..
1a3a26f
100644
(file)
--- a/
ext/IO/lib/IO/Select.pm
+++ b/
ext/IO/lib/IO/Select.pm
@@
-56,6
+56,7
@@
sub exists
sub _fileno
{
my($self, $f) = @_;
+ return unless defined $f;
$f = $f->[0] if ref($f) eq 'ARRAY';
($f =~ /^\d+$/) ? $f : fileno($f);
}