Change get_pod_metadata() to take a callback to report consistency errors.
authorNicholas Clark <nick@ccl4.org>
Sun, 18 Dec 2011 09:35:09 +0000 (10:35 +0100)
committerNicholas Clark <nick@ccl4.org>
Mon, 19 Dec 2011 12:55:19 +0000 (13:55 +0100)
commitd4c6b7ae2c2b00211f9528f146804b76b755480d
treed6a7c84d267626c3e4db22af778c3b0fc708507e
parent449e2f794bd454dce291b0a7192232fe882f1318
Change get_pod_metadata() to take a callback to report consistency errors.

Using the callback to report errors instead of passing the 'inconsistent'
arrayref back in the state means that get_pod_metadata() doesn't even need
to calculate this information if it's not going to be used.
Porting/pod_lib.pl
Porting/pod_rules.pl
pod/buildtoc