Subject: | Error if title not found in IMDB search |
Hi,
just found this module ( v 0.12). But when the title can not be found at all on imdb
it croaks and some warnings are printed as well. (Se debug printout below)
Would it be possible to handle not found titles in a smoother way?
Also a minor topic in the documentation:
"- debug - switch on debug mode (on by default);"
Should be "... off by default.
But overall a very useful module.
/Best Regards Peter Bäckman
[DEBUG] Retrieving page from internet ... at ./fetch.pl line 62
[DEBUG] URL is [http://www.imdb.com/find?tt=on;mx=20;q=Two weeks notice - kärlek på jobbet]... at ./fetch.pl line 62
[DEBUG] Go to search page ... at ./fetch.pl line 62
Use of uninitialized value in pattern match (m//) at IMDB/BaseClass.pm line 303.
[DEBUG] Retrieving page from internet ... at ./fetch.pl line 62
Use of uninitialized value in pattern match (m//) at IMDB/BaseClass.pm line 311.
Use of uninitialized value in concatenation (.) or string at IMDB/BaseClass.pm line 311.
[DEBUG] URL is [http://www.imdb.com/find?tt=on;mx=20;q=]... at ./fetch.pl line 62
Cannot retrieve a movie code! at ./fetch.pl line 62