open(INPUT, "data.txt") || die "Error opening 'keywd.txt'\n"; ^^^^----------- wtf? -------------^^^^^