http://www.perlmonks.org?node_id=852637


in reply to IMDB::Film question

As a follow-up to the answer toolic gave you, you might replace
    print "Something went wrong";
with
    print "Something went wrong loading '$film'";

That way, you'll be able to see typos, wrong path names, the fact that the path was null, etc.