NAME
Blosxom::Header::Util - Utility class for Blosxom::Header
SYNOPSIS
use Blosxom::Header::Util qw/str2time time2str expires/;
my $time = str2time( 'Sun, 06 Nov 1994 08:49:37 GMT' ); # 784111777
my $date = time2str( 784111777 ); # Sun, 06 Nov 1994 08:49:37 GMT
my $date = expires( '+3M' );
FUNCTIONS
The following functions are exported on demand.
- $time = str2time( $date )
-
A shortcut for
$time = HTTP::Date::str2time( $date )
- $date = time2str( $time )
-
A shortcut for
$date = HTTP::Date::time2str( $time )
- expires
SEE ALSO
MAINTAINER
Ryo Anazawa (anazawa@cpan.org)