Help for this page

Select Code to Download


  1. or download this
    {
      my $oldsub = \&AnyEvent::Socket::_parse_hosts;
    ...
      *AnyEvent::Socket::_parse_hosts = sub ($) {
        (my $in = shift) =~ s/\r\n/\n/g; $oldsub->($in) };
    }