PNG  IHDR;IDATxܻn0K )(pA 7LeG{ §㻢|ذaÆ 6lذaÆ 6lذaÆ 6lom$^yذag5bÆ 6lذaÆ 6lذa{ 6lذaÆ `}HFkm,mӪôô! x|'ܢ˟;E:9&ᶒ}{v]n&6 h_tڠ͵-ҫZ;Z$.Pkž)!o>}leQfJTu іچ\X=8Rن4`Vwl>nG^is"ms$ui?wbs[m6K4O.4%/bC%t Mז -lG6mrz2s%9s@-k9=)kB5\+͂Zsٲ Rn~GRC wIcIn7jJhۛNCS|j08yiHKֶۛkɈ+;SzL/F*\Ԕ#"5m2[S=gnaPeғL lذaÆ 6l^ḵaÆ 6lذaÆ 6lذa; _ذaÆ 6lذaÆ 6lذaÆ RIENDB` use 5.006; use strict; use warnings; package Email::Date::Format; our $VERSION = '1.002'; our @EXPORT_OK = qw[email_date email_gmdate]; use Exporter; BEGIN { our @ISA = 'Exporter' } use Time::Local (); =head1 NAME Email::Date::Format - produce RFC 2822 date strings =head1 SYNOPSIS use Email::Date::Format qw(email_date); my $header = email_date($date->epoch); Email::Simple->create( header => [ Date => $header, ], body => '...', ); =head1 DESCRIPTION This module provides a simple means for generating an RFC 2822 compliant datetime string. (In case you care, they're not RFC 822 dates, because they use a four digit year, which is not allowed in RFC 822.) =head2 FUNCTIONS =over 4 =item email_date my $date = email_date; # now my $date = email_date( time - 60*60 ); # one hour ago C accepts an epoch value, such as the one returned by C