And it's faster because Perl executes a foreach statement more rapidly than it would the equivalent for loop.