open(IN,"something.txt");
while($line = <IN>) {
    chomp($line);
    if ($line eq "something") {
        ## HOW DO I STOP THE WHILE AND MOVE ON?????
        last; ##Here's how. :)
    }
}

Reply via email to