In buildtoc, refactor the open ... or my_die pattern into a function.
authorNicholas Clark <nick@ccl4.org>
Mon, 7 Nov 2011 20:36:55 +0000 (21:36 +0100)
committerNicholas Clark <nick@ccl4.org>
Fri, 18 Nov 2011 10:08:56 +0000 (11:08 +0100)
commitad77fdb48128c451b7a8e6803270d2b740d29169
tree4b9eab4327a4baf4c88d66c894886a07357c1441
parent85fa87dbdbe1a457bef61868d355ea1f4870d6f8
In buildtoc, refactor the open ... or my_die pattern into a function.

This eliminates several variables used for filenames, including $masterpodfile,
which was declared as a global.
pod/buildtoc