Added Perl version of the mid utility, "mid.pl".