Incorporate gravatars into your application
It’s super easy:
#/usr/bin/perl use strict; use Digest::MD5 qw( md5_hex ); my $email = shift || die("Please provide email address\n"); my $hash = md5_hex lc($email); print "http://gravatar.com/avatar/${hash}.jpg\n";
I use them at work for showing tooltip displays upon email receipt etc. They’re fun and handy to add to any little application.
Categorised as: Perl