Skip Menu |

This queue is for tickets about the IMDB-Film CPAN distribution.

Report information
The Basics
Id: 45201
Status: resolved
Priority: 0/
Queue: IMDB-Film

People
Owner: STEPANOV [...] cpan.org
Requestors: xaos01 [...] charter.net
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: 0.36
Fixed in: (no value)



I found what I believe to be a bug in the constructor: new() Object's constructor. You should pass as parameter movie title or IMDB code. my $imdb = new IMDB::Film(crit => <some code>); or my $imdb = new IMDB::Film(crit => <some title>); Consider the movie titled "300" year 2006 $film = new IMDB::Film(crit => '300', year => '2006'); It should return this movie. http://www.imdb.com/title/tt0416449/ Instead it returns this movie: http://www.imdb.com/title/tt0000300/ I propose another 2 parameters: "title" and "id" $film = new IMDB::Film(title => '300', year => '2006'); or $film = new IMDB::Film(id => 'tt0416449'); -- Best Regards, Michael Stepanov, Senior Software Developer
Fixed in the version 0.38 -- Best Regards, Michael Stepanov, Senior Software Developer