The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.
#!/usr/bin/perl -w
use strict;

use lib './t';
use Test::More;
use TestData;
use Calendar::Functions qw(:all :test);

eval "use Time::Piece";
if($@) {
	plan skip_all => "Time::Piece not installed.";
}

plan qw|no_plan|;

# date formatting
foreach my $test (@format03) {
	my $str = format_date(@{$test->{array}});
	is($str,$test->{result});
}