Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the Data-Printer CPAN distribution.

Report information
The Basics
Id: 80039
Status: resolved
Priority: 0/
Queue: Data-Printer

People
Owner: Nobody in particular
Requestors: drago [...] yopmail.com
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: Data::Printer::Filter::Digest should work for any digest type derived from Digest::base
Right now Data::Printer::Filter::Digest only checks a short hard-coded list of digest types, but there are a lot more types available on CPAN. Instead of maintaining a list, the filter should check if the object isa "Digest::base".
On Sat Oct 06 12:09:28 2012, drago wrote: Show quoted text
> Right now Data::Printer::Filter::Digest only checks a short hard-coded > list of digest types, but there are a lot more types available on CPAN. > Instead of maintaining a list, the filter should check if the object isa > "Digest::base".
Hi there! Sorry for not replying to this sooner. There are Digest modules that follow the API but do not inherit from Digest::base, such as Digest::MD2, Digest::MD4 and Digest::Haval256. But you are right, and I've patched the filter to cover those separately, while implementing a single filter class for the Digest::base ones. 0.34 is already on CPAN :) Thanks!