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

Report information
The Basics
Id:
45201
Status:
resolved
Priority:
Low/Low
Queue:

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

BugTracker
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


This service runs on Request Tracker, is sponsored by The Perl Foundation, and maintained by Best Practical Solutions.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.