Subject: | Weird behavior, year definition |
Hi,
I find weird behavior, while debugging.
try this:
my $imdb = new IMDB::Film(
crit => 'Hardware (1990)',
);
-- module founds nothing:
http://www.imdb.com/special/quovadis?s=tt;q=Hardware%20(1990)
-- this needs to be fixed I think.
but when I am searching it on website:
http://www.imdb.com/find?s=tt&q=Hardware+(1990)
I am redirected to result:
http://www.imdb.com/title/tt0099740/
When I am using year parameter (or not) in perl:
my $imdb = new IMDB::Film(
crit => 'Hardware',
year => 1990
);
result is:
{
'id' => '0093692',
'title' => 'Over the Top (1987) aka "Meet Me Half Way" - USA
(alternative title) aka "Over the top - h?rdare ?n st?l" - Finland
(Swedish title)'
},
So question is, how year is working ? I can't debug it in sources.
Thanks.