in reply to 5.8.2 vs 5.8.8
That warning comes from the error handler.
sub _error { my $sock = shift; my $err = shift; { local($!); my $title = ref($sock).": "; $@ = join("", $_[0] =~ /^$title/ ? "" : $title, @_); <-- 83 close($sock) if(defined fileno($sock)); } $! = $err; return undef; }
It's not $title that's undef because that would cause the match operator to warn too. It's one of the arguments.
The warning is inconsequential. It's just the symptom of another bug, a bug that's already being reported as an error by Socket. _error is only called from the constructor, so that means the constructor is failing. What error is being returned when you try to create the socket?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: 5.8.2 vs 5.8.8
by 74redvette (Initiate) on Jan 06, 2011 at 17:31 UTC | |
by ikegami (Patriarch) on Jan 06, 2011 at 17:43 UTC | |
by 74redvette (Initiate) on Jan 06, 2011 at 18:28 UTC | |
by ikegami (Patriarch) on Jan 06, 2011 at 18:54 UTC | |
by 74redvette (Initiate) on Jan 06, 2011 at 20:23 UTC | |
|