- or download this
use Mojo::UserAgent;
use Mojo::IOLoop;
...
foreach @tx;
}
)->wait;
- or download this
'http://perlmonks.org' => '<!DOCTYPE HTML PUBLIC .......',
'http://example.com' => '<!doctype html> .......',
- or download this
use Mojo::UserAgent;
use Mojo::IOLoop;
...
} ) foreach @url;
Mojo::IOLoop->start unless Mojo::IOLoop->is_running;