The Perl version is *a lot* faster than the shell version, so we'll