Subject: | cast() returning no values |
There seems to have been some change on the IMDb side and cast() no longer returns a value.
I've tried the full_cast patch mentioned at https://rt.cpan.org/Public/Bug/Display.html?id=75110
and it seems to behave the same way.
This is my code excerpt:
#Fetch full cast
@full_cast = @{ $film->full_cast() };
print Dumper(@full_cast);
print @full_cast . "\n";
#Fetch cast
@cast = @{ $film->cast() };
print Dumper(@cast);
print @cast . "\n";
And my results are just
0
0
All the other functions I've tried using (genres, directors, tagline etc) all seem to be behaving fine and will pull data properly when the ones above do not.
Help appreciated :)