perl-AnyEvent-Handle-Writer-0.02-alt1.noarch.rpm


Advertisement

Description

perl-AnyEvent-Handle-Writer - Extended version of AnyEvent::Handle with additional write options

Property Value
Distribution ALT Linux Sisyphus
Repository Autoimports noarch
Package name perl-AnyEvent-Handle-Writer
Package version 0.02
Package release alt1
Package architecture noarch
Package type rpm
Installed size 13.33 KB
Download size 13.33 KB
Official Mirror ftp.altlinux.org
use AnyEvent;
use AnyEvent::Handle::Writer;
my $hdl; $hdl = AnyEvent::Handle::Writer->new(
fh => $fh,
on_error => sub {
my ($hdl, $fatal, $msg) = @_;
warn "got error $msg\n";
$hdl->destroy;
}
);
$hdl->push_write(sub {
my $h = shift;
if ($have_data) {
$h->unshift_write($data);
return 1; # Work done
} else {
return 0; # Work not done, call me again
}
});
$hdl->push_sendfile('/path/to/file', 1024);

Alternatives

Package Version Architecture Repository
perl-AnyEvent-Handle-Writer - - -

Requires

Name Value
/usr/share/perl5 -
perl(AnyEvent/Handle.pm) -
perl(AnyEvent/Util.pm) -
perl(common/sense.pm) >= 2.0
rpmlib(PayloadIsLzma) -

Provides

Name Value
perl(AnyEvent/Handle/Writer.pm) = 0.020
perl-AnyEvent-Handle-Writer = 0.02-alt1

Download

Type URL
Binary Package perl-AnyEvent-Handle-Writer-0.02-alt1.noarch.rpm
Source Package perl-AnyEvent-Handle-Writer-0.02-alt1.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-Handle-Writer rpm package:
    # sudo apt-get install perl-AnyEvent-Handle-Writer

Files

Path
/usr/share/doc/perl-AnyEvent-Handle-Writer-0.02/Changes
/usr/share/doc/perl-AnyEvent-Handle-Writer-0.02/LICENSE
/usr/share/doc/perl-AnyEvent-Handle-Writer-0.02/README
/usr/share/perl5/AnyEvent/
/usr/share/perl5/AnyEvent/Handle/Writer.pm

See Also

Package Description
perl-AnyEvent-HiveJSO-0.002-alt1.noarch.rpm HiveJSO stream serializer/deserializer for AnyEvent
perl-AnyEvent-IMAP-0.04-alt1.noarch.rpm IMAP client library for AnyEvent
perl-AnyEvent-IRC-0.97-alt1.noarch.rpm An event based IRC protocol client API
perl-AnyEvent-IRC-Server-0.03-alt1.noarch.rpm An event based IRC protocol server API
perl-AnyEvent-ITM-0.002-alt1.noarch.rpm Debug ITM/SWD stream deserializer for AnyEvent
perl-AnyEvent-ITM-scripts-0.002-alt1.noarch.rpm AnyEvent-ITM scripts
perl-AnyEvent-Ident-0.07-alt1.noarch.rpm Simple asynchronous ident client and server
perl-AnyEvent-ImageShack-0.2-alt1.noarch.rpm simple non-blocking client for image hosting ImageShack.us
perl-AnyEvent-Impl-Prima-0.02-alt1.noarch.rpm Prima event loop adapter for AnyEvent
perl-AnyEvent-InMemoryCache-0.01-alt1.noarch.rpm Simple in-memory cache for AnyEvent applications
perl-AnyEvent-InfluxDB-1.0.2.0-alt1.noarch.rpm An asynchronous library for InfluxDB time-series database
perl-AnyEvent-Inotify-Simple-0.03-alt1.noarch.rpm monitor a directory tree in a non-blocking way
perl-AnyEvent-JSONRPC-Lite-0.15-alt1.noarch.rpm Simple TCP-based JSONRPC client/server
perl-AnyEvent-Kanye-0.02-alt1.noarch.rpm perl module AnyEvent-Kanye
perl-AnyEvent-LeapMotion-0.01-alt1.noarch.rpm Perl interface to the Leap Motion Controller (via WebSocket)
Advertisement
Advertisement