This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Convert buildtoc to lexical file handles and 3-arg open.