Mail::Pyzor::Digest
my $digest = Mail::Pyzor::Digest::get( $mime_text );
A reimplementation of https://github.com/SpamExperts/pyzor/blob/master/pyzor/digest.py.
This takes an email message in raw MIME text format (i.e., as saved in the standard mbox format) and returns the message’s Pyzor digest in lower-case hexadecimal.
The output from this function should normally be identical to that of the pyzor script’s digest command. It is suitable for use in Mail::Pyzor::Client’s request methods.
pyzor
digest
To install Mail::Pyzor, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Mail::Pyzor
CPAN shell
perl -MCPAN -e shell install Mail::Pyzor
For more information on module installation, please visit the detailed CPAN module installation guide.