in reply to RFC-Compliant Date String for Mail::Mailer

It's probaby easiest to just use the POSIX strftime();
Here is an example:
use POSIX qw(strftime); my $time = strftime("%a, %d %b %Y %H:%M:%S %z", localtime time);