Refactor lib/Pod/t/eol.t
authorNicholas Clark <nick@ccl4.org>
Tue, 7 Feb 2012 15:20:18 +0000 (16:20 +0100)
committerNicholas Clark <nick@ccl4.org>
Wed, 8 Feb 2012 16:59:32 +0000 (17:59 +0100)
commitb70d370eef9e421be0a8c1c65beb8ca59c8f15ab
tree997c185e7c62fc2508ea5aa87fa6d60622f3ded7
parent1f9a5459c27f9d55f3e541af0f584ba0b57e4037
Refactor lib/Pod/t/eol.t

* use variables for the names of temporary files
* use lexicals for file handles
* check the return value of close
* use is() rather than ok() with ==
  [possibly still dubious that it's using unpack checksums for comparison,
   instead of SHAs or simply File::Compare]
lib/Pod/t/eol.t