I have created two trivial plugin modules to wrap Digest::MD5 and
Digest::SHA1 respectively. They are available on the following page:
http://andrew-ford.com/perl/
Usage:
USE Digest.MD5;
md5_hex_sum = contents | md5_hex;
md5_b64_sum = contents | md5_base64;
USE Digest.SHA1;
sha1_hex_sum = contents | sha1_hex;
sha1_b64_sum = contents | sha1_base64;
If noone objects I will upload these to CPAN shortly.
Andrew Ford
_______________________________________________
templates mailing list
[email protected]
http://lists.template-toolkit.org/mailman/listinfo/templates