bpa wrote: 
> Just to follow up
> > 
Code:
--------------------
  >   > 
  > sub inet_aton {
  > my ($name, $cb) = @_;
  > 
  > if (my $ipn = &parse_ipv4) {
  > $cb->($ipn);
  > } elsif (my $ipn = &parse_ipv6) {
  > $cb->($ipn);
  > } elsif ($name eq "localhost") { # rfc2606 et al.
  > $cb->(v127.0.0.1, v0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.1);
  > } else {
  > require AnyEvent::DNS;
  > .
  > .
  > 
--------------------
> > 
> 
> The offending line in red hasn;t changed in latest version of
> AnyEvent::Socket.pm 
> 
> Why the "my $ipn" is executed twice is odd - perhaps an strange
> network error - could it be your network is network interface is not
> ready ?

I'd not even read this as being defined in the same scope... Both
definitions are local to their if/else statement, aren't they?

And why it sometimes would work, but not always I don't understand
either.



Michael

http://www.herger.net/slim-plugins - Spotty, MusicArtistInfo
------------------------------------------------------------------------
mherger's Profile: http://forums.slimdevices.com/member.php?userid=50
View this thread: http://forums.slimdevices.com/showthread.php?t=110902

_______________________________________________
Squeezecenter mailing list
Squeezecenter@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/squeezecenter

Reply via email to