[ID 20000720.004] ExtUtils::MakeMaker finds wrong version of perl
[p5sagit/p5-mst-13.2.git] / lib / Search / Dict.pm
index 1cd5cf8..9a229a7 100644 (file)
@@ -61,7 +61,7 @@ sub look {
     <FH> if $min;
     for (;;) {
        $min = tell(FH);
-       $_ = <FH>
+       defined($_ = <FH>)
            or last;
        chop;
        s/[^\w\s]//g if $dict;