dotse/dnscheck — pull request #71 by olof (2012-11-08 20:06:21+00:00)
Title: DNSCheck::Logger::export() variant that exports a list of hashes

The POD for DNSCheck::Logger states that export() returns a list of hashes, but in reality it returns a list of lists (an array reference of array references, really). My proposed patch implements a variation of the export() method, export_hash(), that actually does return each log entry as a hashref just like the iterator, get_next_entry(). I didn't want to change the behavior of the export() method for backwards compatibility.

This proposed change comes with updated documentation and unit tests.