Net::RTorrent::DItem - Class of rtorrent item.
my $obj = new Net::RTorrent:: 'http://10.100.0.1:8080/scgitest'; my $dloads = $obj->get_downloads('complete'); my $keys = $dloads->list_ids; my $ditem = $dloads->get_one( $key); if ( $ditem->attr->{left_bytes} ) { $ditem->stop }
Attributes for torrent.
Stop torrent
Collection::Utl::Item
Zahatski Aliaksandr, <zag@cpan.org>
Copyright 2008 by Zahatski Aliaksandr
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
To install Net::RTorrent, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Net::RTorrent
CPAN shell
perl -MCPAN -e shell install Net::RTorrent
For more information on module installation, please visit the detailed CPAN module installation guide.