DateTime-Format-Mail
view release on metacpan or search on metacpan
lib/DateTime/Format/Mail.pm view on Meta::CPAN
use strict;
use 5.005;
use Carp;
use DateTime 1.04;
use Params::Validate qw( validate validate_pos SCALAR );
use vars qw( $VERSION );
my %validations = (
year_cutoff => {
type => SCALAR,
callbacks => {
'greater than or equal to zero, less than 100' => sub {
defined $_[0]
and $_[0] =~ /^ \d+ $/x
and $_[0] >= 0
and $_[0] < 100
},
},
}
);
( run in 1.889 second using v1.01-cache-2.11-cpan-9b1e4054eb1 )