Snippets

Brian Medley some promise, eh

Created by Brian Medley
1
2
3
4
5
my $promise = sub { 
    $ua->aget('http://second')->then(sub { say 'qbert' });
};

$ua->aget('http://first')->then($promise)->then(sub { say 'third' })

Comments (0)

HTTPS SSH

You can clone a snippet to your computer for local editing. Learn more.