And the output from when I try running the program as such: perl imdb.pl moviename ..1 #!/usr/bin/perl 2 3 use strict; 4 use IMDB::Film; 5 6 my $film = <>; 7 my $imdbobject = new IMDB::Film(crit => $film); 8 9 if($imdbobject ->status) { 10 print "Title: ".$imdbobject->title(). "\n"; 11 print "Year: ".$imdbobject->year(). "\n"; 12 print "Plot: ".$imdbobject->year(). "\n"; 13 } else { 14 print "Something went wrong"; 15 }
Any ideas? /DavidCan't open troy: No such file or directory at imdb.pl line 6. Film IMDB ID or Title should be defined! at imdb.pl line 7
In reply to IMDB::Film question by dlind
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |