2019 twenty four merry days of Perl Feed

Promises, Promises...

Mojo::AsyncAwait - 2010-12-11

Sequentical Code

    my $ua = Mojo::UserAgent->new;
    my $res = $ua->get(''');


A common technique for asynconous programming to to use a callback. This means that the code you write doesn't block while it's waiting for something to happen but instead returns immediatly and the result

Gravatar Image This article contributed by: Mark Fowler <mark@twoshortplanks.com>