in reply to use of uninitialized value in concatenation

The error is
my $word = $_; # I guess word is undefined here my $url="http://dictionary.reference.com/search?q=$word";
perhaps you want my $word = $ARGV[0] || '';
Boris