Don't create an empty Errno.pm if there is an error whilst running Errno_pm.PL
authorNicholas Clark <nick@ccl4.org>
Tue, 31 Mar 2009 13:23:58 +0000 (14:23 +0100)
committerNicholas Clark <nick@ccl4.org>
Tue, 31 Mar 2009 13:25:23 +0000 (14:25 +0100)
commitcedab142c3511603d566403c134158cf036c418d
tree84c49810caaadc391f96a3b76177fe506376ca82
parent85a79b09b8bc5e91d2e64794fda42d63aa8f1f2f
Don't create an empty Errno.pm if there is an error whilst running Errno_pm.PL
Implemented by initially writing to an temporary file name, and renaming as the
last act.
ext/Errno/Errno_pm.PL