Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Correcting ::Generator->announce_list() and adding ...->_del_tier( ... )

  • Loading branch information...
commit 73cb81c33ac0763dbde943a0c9d0f61517470e27 1 parent 805e50c
@sanko authored
Showing with 4 additions and 3 deletions.
  1. +4 −3 lib/Net/BitTorrent/Torrent/Generator.pm
View
7 lib/Net/BitTorrent/Torrent/Generator.pm
@@ -50,13 +50,14 @@ package Net::BitTorrent::Torrent::Generator;
writer => '_set_announce',
predicate => '_has_announce'
);
- has 'announce-list' => (is => 'ro',
+ has 'announce_list' => (is => 'ro',
isa => 'ArrayRef[ArrayRef[Str]]',
default => sub { [] },
traits => ['Array'],
handles => {_add_tier => 'push',
- _get_pier => 'get',
- _has_announce_list => 'count'
+ _get_tier => 'get',
+ _has_announce_list => 'count',
+ _del_tier => 'delete'
}
);
has 'private' => (is => 'ro',
Please sign in to comment.
Something went wrong with that request. Please try again.