The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.
open F, "find . -type f |";

while (<F>) {
  next if /blib/;
  next if /~$/;
  next if /tar$/;
  next if /gz$/;
  next if /MANIFEST.tmp/;
  
  push @F, substr($_, 2);
}

open O, ">MANIFEST.tmp" or die $!;

print O join "", @F;