in reply to IMDB::Film question

Try shift:
my $film = shift;

Replies are listed 'Best First'.
Re^2: IMDB::Film question
by dlind (Initiate) on Aug 02, 2010 at 19:56 UTC
    That did the trick. Care to explain? :) /David
      shift, with no arguments, and when not in a subroutine, shifts elements off of the @ARGV array (the command line args, see perlvar). The <> operator is a shortcut to readline (sort of, see perlop, and with no arguments, will open files named in @ARGV and read lines from the file.