Subject: | Empty Episode List |
Date: | Thu, 12 Mar 2009 14:07:55 -0600 (MDT) |
To: | bug-WWW-TV [...] rt.cpan.org |
From: | Marshall McMullen <marshall.mcmullen [...] gmail.com> |
I'm using the latest version of WWW-TV (0.13 as of this writing) and get back an empty list for the episodes of any given series. As an example, here's what I'm trying:
my $series = WWW::TV::Series->new(name => "$title");
my @episodes = $series->episodes( season => "$season");
my $ep = $episodes[$episode-1];
my $summary = $ep->summary;
But it fails every time with the following error:
Can't call method "summary" on an undefined value at ./gettvinfo.pm line 44.
In this case, line 44 is:
my $summary = $ep->summary;
Moreover, adding in a loop to iterate over the episodes and print each one reveals it is an empty list.