Subject: | Oops; $loop->connect failed but no error cause was found |
Seeing this error when providing invalid addr data, presumably something's losing the real message along the way:
$ perl 2015-04-24-io-async-oops.pl
Oops; $loop->connect failed but no error cause was found at .../IO/Async/Internals/Connector.pm line 152.
I *think* this is recent, will try with earlier versions to confirm.
cheers,
Tom
Subject: | 2015-04-24-io-async-oops.pl |
#!/usr/bin/env perl
use strict;
use warnings;
use IO::Async::Loop;
my $loop = IO::Async::Loop->new;
my ($conn) = $loop->connect(
addr => {
host => '127.0.0.1',
service => 80,
socktype => 'stream',
},
)->get;