This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
In buildtoc, make %Readmepods lexical, and $delta_target global.
authorNicholas Clark <nick@ccl4.org>
Mon, 7 Nov 2011 20:23:39 +0000 (21:23 +0100)
committerNicholas Clark <nick@ccl4.org>
Fri, 18 Nov 2011 10:08:56 +0000 (11:08 +0100)
commit85fa87dbdbe1a457bef61868d355ea1f4870d6f8
tree585bfa6f4f8028927e3cd7c84a3e24cf38448ac0
parentf37610d895e1d30b2be6a7872374e35af560c75c
In buildtoc, make %Readmepods lexical, and $delta_target global.

%Readmepods is only used within the code to read pod.lst, pod/perlpod.pod
and MANIFEST, not by the generation code.
$delta_target is set by the reading code, but used in the generation code.

This makes the use of global and lexical variables more consistent.
pod/buildtoc