The Perl 5 code in this file was in severe need of refactoring, so I have made several commits to that end. The refactoring has focused on:
1. Moving variable declarations closer to the point at which the variables are used. 2. Not opening filehandles until they're actually needed for printing. This, combined with (1), has meant that the code for printing and preparing MANIFEST has largely been separated from that for printing andn preparing MANIFEST.SKIP. 3. Once (1) and (2) were finished, much of the code could be encapsulated in subroutines, which makes the internal structure of the program more apparent. This should put us in a better position to address the issue Coke raised in the ticket. kid51