X-Git-Url: http://git.cascardo.info/?p=cascardo%2Fwww-eztv.git;a=blobdiff_plain;f=lib%2FWWW%2FEZTV.pm;h=616641866e803eeaf58a4cdf19f6a35c9140685c;hp=98ed361af9d26845ed1fe9dcd37eca1ed9885499;hb=0d3ed08cfbcf0808a30e4cc43d2389693de396fa;hpb=377beead8952c1e815cbc9f47ba5d0bf09c9693c diff --git a/lib/WWW/EZTV.pm b/lib/WWW/EZTV.pm index 98ed361..6166418 100644 --- a/lib/WWW/EZTV.pm +++ b/lib/WWW/EZTV.pm @@ -11,13 +11,13 @@ has url_shows => ( is => 'ro', lazy => 1, default => sub { shift->url->clone->pa has shows => is => 'ro', lazy => 1, - default => \&build_shows, + builder => '_build_shows', handles => { find_show => 'first', has_shows => 'size', }; -sub build_shows { +sub _build_shows { my $self = shift; $self->get_response( $self->url_shows )->dom->find('table.forum_header_border tr[name="hover"]')->map(sub {