Justin Mason wrote:
not off the top of my head, but for this module, this one-liner will test if it's working or not:
perl -we 'use Digest::SHA1 qw(sha1_hex);print sha1_hex("1"),"\n";'
should output:
356a192b7913b04c54574d18c28d46e6395428ab
that works!
~$ perl -we 'use Digest::SHA1 qw(sha1_hex);print sha1_hex("1"),"\n"' 356a192b7913b04c54574d18c28d46e6395428ab
but spamassassin still fails make test:
t/bayesdbm..................ok 33/44Use of inherited AUTOLOAD for non-method Digest::SHA1::sha1_hex() is deprecated at ../blib/lib/Mail/SpamAssassin/Bayes.pm line 987.