AnyEvent-BitTorrent
view release on metacpan or search on metacpan
303304305306307308309310311312313314315316317318319320321322will probably never be included in [AnyEvent::BitTorrent](https://metacpan.org/pod/AnyEvent::BitTorrent).
## What should I use instead?
If you're reading all of this
with
a scowl, there are many alternatives to
this module, most of which are sure to be better suited
for
advanced users. I
suggest (in
no
particular order):
- [Net::BitTorrent](https://metacpan.org/pod/Net::BitTorrent) ...in the future. I _do not_ suggest using either
the current stable or unstable versions found on CPAN. The
next
version is
being worked on and will be based on [Reflex](https://metacpan.org/pod/Reflex).
If you're working on a Perl based client and would like me to
link
to it,
send
a bug report to the tracker [listed below](
#bug-reports).
# Subclassing AnyEvent::BitTorrent
TODO
lib/AnyEvent/BitTorrent.pm view on Meta::CPAN
11291130113111321133113411351136113711381139114011411142114311441145114611471148
!= -1) ? 1 : 0;
if
(
$interesting
) {
if
(!
$p
->{local_interested}) {
$p
->{local_interested} = 1;
$s
->_send_encrypted(
$p
->{handle}, build_interested());
}
}
else
{
if
(
$p
->{local_interested}) {
$p
->{local_interested} = 0;
$s
->_send_encrypted(
$p
->{handle}, build_not_interested());
}
}
}
has
working_pieces
=> (
is
=>
'ro'
,
lazy
=> 1,
isa
=> HashRef,
init_arg
=>
undef
,
default
=>
sub
{ {} }
);
( run in 0.310 second using v1.01-cache-2.11-cpan-3cd7ad12f66 )