At work, one of the engineers did something like the following to parse a 100MB apache log file. while (<LOG>) { next unless (/^\w+\s([a-zA-Z\.]+)\s\w+\s\w +\s\w+\s(\d+)$/); $locationhash{$1} += $2; He told me this loop wouldn't check every single in the log file. I don't see how this is possible. Can someone clarity this? Thank you.