passcod/sitegen — comment on commit 7f6fff3c2bf415dd5752f0fa92c5994570686f19
File:  line 0
By passcod:

That's if you use "globals" for file handles. Use locals (like `open(my $file, ...);`) and the handles get closed when they get out of scope. As Perl uses block scope, this can be very fast. Also, using different letters for handles in different subs is an easy way to avoid collisions in such a small codebase.