Aside from the display color, there are a few other options to be customized via the digest option key:
Set this to true to display the class name right next to the hexadecimal digest. Default is 0 (false).
If set to true (the default), the filter will add a [reset] tag after dumping an empty digest object. See the rationale below.
The digest operation is effectively a destructive, read-once operation. Once it has been performed, most Digest::* objects are automatically reset and can be used to calculate another digest value.
This behaviour - or, rather, forgetting about this behaviour - is a common source of issues when working with Digests.
As another debugging convenience for developers, since the empty object will produce a digest even after being used, this filter adds by default a [reset] tag to indicate that the object is empty, in a reset state - i.e. its hexdigest is the same as the hexdigest of a new, empty object of that same class.
|perl v5.20.3||DATA::PRINTER::FILTER::DIGEST (3)||2015-05-29|