perl-AnyEvent-MultiDownload-1.13-alt2.noarch.rpm


Advertisement

Description

perl-AnyEvent-MultiDownload - AnyEvent::MultiDownload - .''.'O..'.''.I'.aY.U'.I'.'O.'e.''.Oc.a'.AA.''.U..'

Property Value
Distribution ALT Linux Sisyphus
Repository Autoimports noarch
Package name perl-AnyEvent-MultiDownload
Package version 1.13
Package release alt2
Package architecture noarch
Package type rpm
Installed size 23.24 KB
Download size 23.24 KB
Official Mirror ftp.altlinux.org
.Y'.'U.ae.au.'U.''.'O..'.''.I'.aY.U'.I'.'O.'e.''.Oc.a'.AA.''.U..'., .'U.Oa.N..a'.'A.Y'.au.ai.iU.ae.o., .''..c.a'.AA.I'.au.''.Oc, .vc.ai.'E.au.Y'.U'.'A.'U.''.da.a'.Oc.ie.'', .a'.''.'O..'.aO.Y'.U'.
.a'.'A.'U.au.Oe.''.''.''.d', .''..c.O'.I'.au.'O.'e.a'.AA.''.ae.au.''.Oc.
use AE;
use AnyEvent::MultiDownload;
my @urls = (
'http://mirrors.163.com/centos/7/isos/x86_64/CentOS-7.0-1406-x86_64-DVD.iso',
'http://mirrors.sohu.com/centos/7/isos/x86_64/CentOS-7.0-1406-x86_64-DVD.iso',
);
my $cv = AE::cv;
my $MultiDown = AnyEvent::MultiDownload->new(
url     => pop @urls,
mirror  => \@urls,
path  => '/tmp/ubuntu.iso',
block_size => 1 * 1024 * 1024, # 1M
on_block_finish => sub {
my ($hdr, $block_ref, $md5) = @_;
if ($md5 eq $src_md5) {
return 1;
}
0
},
on_finish => sub {
my $len = shift;
$cv->send;
},
on_error => sub {
my ($error, $hdr) = @_;
$cv->send;
}
)->start;
$cv->recv;
.a'.'A.'U.''.da.''..c.a'.AA.I'.au.''.Oc.''.O'.''. .'E.au.Y'.U'.''.da.
use AE;
use AnyEvent::MultiDownload;
my $cv = AE::cv;
$cv->begin;
my $MultiDown = AnyEvent::MultiDownload->new(
url     => 'http://xxx/file1',
path  => "/tmp/file2",
on_finish => sub {
my $len = shift;
$cv->end;
},
on_error => sub {
my ($error, $hdr) = @_;
$cv->end;
}
);
$MultiDown->start;
$cv->begin;
my $MultiDown1 = AnyEvent::MultiDownload->new(
url     => 'http://xxx/file2',
path  => "/tmp/file1",
on_finish => sub {
my $len = shift;
$cv->end;
},
on_error => sub {
my ($error, $hdr) = @_;
$cv->end;
}
);
$MultiDown1->start;
$cv->recv;
.Oa.a'.'U.''..c.a'.AA.I'.au.''.Oc...

Alternatives

Package Version Architecture Repository
perl-AnyEvent-MultiDownload - - -

Requires

Name Value
/usr/share/perl5 -
perl(AE.pm) -
perl(AnyEvent/Digest.pm) >= 0.0.005
perl(AnyEvent/HTTP.pm) >= 2.210
perl(Asset/File.pm) -
perl(List/Util.pm) -
perl(Moo.pm) -
perl(utf8.pm) -
rpmlib(PayloadIsLzma) -

Provides

Name Value
perl(AnyEvent/MultiDownload.pm) = 1.130
perl-AnyEvent-MultiDownload = 1.13-alt2

Download

Type URL
Binary Package perl-AnyEvent-MultiDownload-1.13-alt2.noarch.rpm
Source Package perl-AnyEvent-MultiDownload-1.13-alt2.src.rpm

Install Howto

  1. Add the following line to /etc/apt/sources.list:
    
    rpm [Sisyphus] http://ftp.altlinux.org/pub/distributions/ALTLinux/autoimports/Sisyphus noarch autoimports
    rpm [Sisyphus] http://ftp.altlinux.org/pub/distributions/ALTLinux/autoimports/Sisyphus noarch autoimports
    
  2. Update the package index:
    # sudo apt-get update
  3. Install perl-AnyEvent-MultiDownload rpm package:
    # sudo apt-get install perl-AnyEvent-MultiDownload

Files

Path
/usr/share/doc/perl-AnyEvent-MultiDownload-1.13/Changes
/usr/share/doc/perl-AnyEvent-MultiDownload-1.13/README.md
/usr/share/perl5/AnyEvent/MultiDownload.pm

See Also

Package Description
perl-AnyEvent-MultiDownload-scripts-1.13-alt2.noarch.rpm AnyEvent-MultiDownload scripts
perl-AnyEvent-Multilog-1.102861-alt1.noarch.rpm event-driven interface to a multilog process
perl-AnyEvent-MyPeopleBot-Client-0.0.2-alt1.noarch.rpm MyPeopleBot API in an event loop
perl-AnyEvent-MySQL-1.002001-alt1.noarch.rpm Pure Perl AnyEvent socket implementation of MySQL client
perl-AnyEvent-MySQL-ConnPool-0.07-alt1.noarch.rpm AnyEvent::ConnPool adapter for AnyEvent::MySQL
perl-AnyEvent-Mypeople-Client-0.0.1-alt1.noarch.rpm Mypeople API in an event loop
perl-AnyEvent-Net-Amazon-S3-0.04.0.80-alt1.noarch.rpm Use the Amazon S3 - Simple Storage Service
perl-AnyEvent-Net-Amazon-S3-scripts-0.04.0.80-alt1.noarch.rpm AnyEvent-Net-Amazon-S3 scripts
perl-AnyEvent-Net-Curl-Queued-0.047-alt1.noarch.rpm Moo wrapper for queued downloads via Net::Curl & AnyEvent
perl-AnyEvent-Net-Curl-Queued-scripts-0.047-alt1.noarch.rpm AnyEvent-Net-Curl-Queued scripts
perl-AnyEvent-Net-MPD-0.002-alt1.noarch.rpm A non-blocking interface to MPD
perl-AnyEvent-OWNet-1.163170-alt1.noarch.rpm Client for 1-wire File System server
perl-AnyEvent-Onkyo-1.130220-alt1.noarch.rpm AnyEvent module for controlling Onkyo/Integra AV equipment
perl-AnyEvent-Onkyo-scripts-1.130220-alt1.noarch.rpm AnyEvent-Onkyo scripts
perl-AnyEvent-Open3-Simple-0.86-alt1.noarch.rpm Interface to open3 under AnyEvent
Advertisement
Advertisement