diff options
author | Nicholas Clark <nick@ccl4.org> | 2011-12-18 15:03:18 +0100 |
---|---|---|
committer | Nicholas Clark <nick@ccl4.org> | 2011-12-19 13:55:19 +0100 |
commit | 4027e27b35630b1e4213355d1223d476fa09a600 (patch) | |
tree | 5b10fc4805ea0879fa65b925ca012564c792464f /Changes | |
parent | 9887f4486771327e32cc7026d4b939cc89ccc7b2 (diff) | |
download | perl-4027e27b35630b1e4213355d1223d476fa09a600.tar.gz |
Prime the duplicate Pod cache the first time is_duplicate_pod() is called.
Previously it was primed when get_pod_metadata() was called. This removes the
undocumented assumption that is_duplicate_pod() will only be called after
get_pod_metadata(), and avoids reading 14 Pod files to calculate their MD5s
unless actually necessary.
This change means that the array references in @{$state{master}} are being
accessed much later during runtime. This reveals that podset() in buildtoc
had been clobbering its callers $_, which happened to be an alias to the
current element of @{$state{master}}.
Diffstat (limited to 'Changes')
0 files changed, 0 insertions, 0 deletions